openvino.runtime.opset7.bucketize

openvino.runtime.opset7.bucketize(data: openvino._pyopenvino.Node, buckets: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], output_type: str = 'i64', with_right_bound: bool = True, name: Optional[str] = None) openvino._pyopenvino.Node

Return a node which produces the Bucketize operation.

Parameters
  • data – Input data to bucketize

  • buckets – 1-D of sorted unique boundaries for buckets

  • output_type – Output tensor type, “i64” or “i32”, defaults to i64

  • with_right_bound – indicates whether bucket includes the right or left edge of interval. default true = includes right edge

  • name – Optional name for output node.

Returns

Bucketize node