ngraph.is_nan

ngraph.is_nan(data: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.Node

Performs element-wise mapping from NaN to True. Other values are mapped to False.

Parameters
  • data – A tensor of floating point numeric type and arbitrary shape.

  • name – Optional name for the output node. Default is None.

Returns

Node representing is_nan operation.