code: def __call__(self, x, bins):
      x = astensor(x)
      inputs = [x]
      if not isinstance(bins, Tensor):
          bins = get_array_module(bins).asarray(bins)
          self._bins = bins
      else:
          inputs.append(bins)
      self.dtype = np.digitize(
          [0], np.empty(1, dtype=bins.dtype), right=self._right
      ).dtype
  
      return self.new_tensor(inputs, x.shape, order=TensorOrder.C_ORDER)
  
imports: import numpy
  from ...None import opcodes
  from ...core import recursive_tile
  from ...serialization.serializables import KeyField, AnyField, BoolField
  from ...lib.sparse.core import get_array_module
  from ...utils import has_unknown_shape
  from ..array_utils import as_same_device, device
  from ..core import Tensor, TensorOrder
  from ..datasource import tensor
  from ..operands import TensorHasInput, TensorOperandMixin
label_desc: Use image node_id 5 for calling the TensorDigitize obj's underlying member method code with example usage: obj.__call__(x, bins) and returns: self