IsNaN

Description

Maps the NaN elements of the input tensor to true and other values to false.

Input

x: input tensor of type float16 or float32.

Output

y: output tensor of type bool. Its shape is the same as that of the input x.

Constraints

None.

ONNX Opset Support

Opset v9/v10/v11/v12/v13/v14/v15/v16/v17/v18