openvino.runtime.opset15.non_zero#

openvino.runtime.opset15.non_zero(data: Node | int | float | ndarray, output_type: str = 'i64', name: str | None = None) Node#

Return the indices of the elements that are non-zero.

Parameters:
  • data – Input data.

  • output_type – Output tensor type.

Returns:

The new node which performs NonZero