openvino.runtime.opset5.non_zero¶
-
openvino.runtime.opset5.
non_zero
(data: Union[openvino.pyopenvino.Node, int, float, numpy.ndarray], output_type: str = 'i64', name: Optional[str] = None) → openvino.pyopenvino.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