* code-block-1 * Update Convert_Model_From_Paddle.md * code-block force * fix * fix-2 * Update troubleshooting-steps.md * code-block-2 * Update README.md
2.1 KiB
IsInf
@sphinxdirective
.. meta:: :description: Learn about IsInf - an element-wise, comparison operation, which can be performed on a single tensor in OpenVINO.
Versioned name: IsInf-10
Category: Comparison
Short description: IsInf performs element-wise mapping of infinite values to True.
Detailed description: IsInf performs element-wise mapping of infinite values to true and other values to false. Attributes detect_negative and detect_positive can be used to control the mapping of negative and positive infinities. Setting both detect_negative and detect_positive to false will map all values to false.
Attributes
-
detect_negative
- Description: specifies rules used for mapping values with negative infinity.
- Range of values:
false- map negative infinity tofalsetrue- map negative infinity totrue
- Type:
boolean - Default value:
true - Required: no
-
detect_positive
- Description: specifies rules used for mapping values with positive infinity.
- Range of values:
false- map positive infinity tofalsetrue- map positive infinity totrue
- Type:
boolean - Default value:
true - Required: no
Inputs
- 1:
data- Input tensor of typeT_INwith data and arbitrary shape. Required.
Outputs
- 1: The result of the element-wise mapping of infinite values applied to the input tensor. A tensor of the
booleantype and shape equal to the input tensor.
Types
- T_IN: any supported floating-point type.
Example
.. code-block:: xml :force:
<layer ... type="IsInf" ...> 256 128 256 128
@endsphinxdirective