openvino.runtime.opset13.is_inf

openvino.runtime.opset13.is_inf(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], attributes: Optional[dict] = None, name: Optional[str] = None) openvino._pyopenvino.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.