code: def forward(self, is_train, req, in_data, out_data, aux):
      data = in_data[0].asnumpy()
      bins = in_data[1].asnumpy()
      data_binned = np.digitize(data, bins=bins, right=False)
      self.assign(out_data[0], req[0], mx.nd.array(data_binned))
  
file_path: gluonts/src/gluonts/mx/representation/binning_helpers.py
imports: import mxnet
  import numpy
label_desc: Use image node_id 1 for calling the Digitize obj's underlying member method code with example usage: obj.forward(is_train, req, in_data, out_data, aux) without return types