openvino.runtime.opset12.bucketize(data: Node, buckets: Node | int | float | ndarray, output_type: str = 'i64', with_right_bound: bool = True, name: str | None = None) Node#

Return a node which produces the Bucketize operation.

  • 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.


Bucketize node