NonZero
Description
Returns the index of a non-zero element (row-major order).
Input
One input:
x: tensor of type float16, float, int32, int8, or uint8.
Output
One output:
y: tensor of type int64.
ONNX Opset Support
Opset v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Operators Specifications of the AI Framework