IsNaN

IsNaN - 20

Version

  • name: IsNaN (GitHub)

  • domain: main

  • since_version: 20

  • function: False

  • support_level: SupportType.COMMON

  • shape inference: True

This version of the operator has been available since version 20.

Summary

Returns which elements of the input are NaN.

Inputs

  • X (heterogeneous) - T1:

    input

Outputs

  • Y (heterogeneous) - T2:

    output

Type Constraints

  • T1 in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(float8e4m3fn), tensor(float8e4m3fnuz), tensor(float8e5m2), tensor(float8e5m2fnuz) ):

    Constrain input types to float tensors.

  • T2 in ( tensor(bool) ):

    Constrain output types to boolean tensors.

IsNaN - 13

Version

  • name: IsNaN (GitHub)

  • domain: main

  • since_version: 13

  • function: False

  • support_level: SupportType.COMMON

  • shape inference: True

This version of the operator has been available since version 13.

Summary

Returns which elements of the input are NaN.

Inputs

  • X (heterogeneous) - T1:

    input

Outputs

  • Y (heterogeneous) - T2:

    output

Type Constraints

  • T1 in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16) ):

    Constrain input types to float tensors.

  • T2 in ( tensor(bool) ):

    Constrain output types to boolean tensors.

IsNaN - 9

Version

  • name: IsNaN (GitHub)

  • domain: main

  • since_version: 9

  • function: False

  • support_level: SupportType.COMMON

  • shape inference: True

This version of the operator has been available since version 9.

Summary

Returns which elements of the input are NaN.

Inputs

  • X (heterogeneous) - T1:

    input

Outputs

  • Y (heterogeneous) - T2:

    output

Type Constraints

  • T1 in ( tensor(double), tensor(float), tensor(float16) ):

    Constrain input types to float tensors.

  • T2 in ( tensor(bool) ):

    Constrain output types to boolean tensors.