ngraph.is_inf¶
- ngraph.is_inf(data: Union[_pyngraph.Node, int, float, numpy.ndarray], attributes: Optional[dict] = None, name: Optional[str] = None) _pyngraph.Node ¶
Return a node which performs IsInf operation.
- Parameters
data – The input tensor.
attributes – Optional dictionary containing IsInf attributes.
name – Optional name of the node.
Available attributes:
- detect_negative Specifies whether to map negative infinities to true in output map.
Range of values: true, false Default value: true Required: no
- detect_positive Specifies whether to map positive infinities to true in output map.
Range of values: true, false Default value: true Required: no
- Returns
A new IsInf node.