ngraph.is_finite

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

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

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

  • name – Optional name for the output node. The default is None.

Returns

Node representing is_finite operation.