openvino.runtime.opset10.is_inf#

openvino.runtime.opset10.is_inf(data: Node | int | float | ndarray, attributes: dict | None = None, name: str | None = None) 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.