* 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
1.5 KiB
IsNaN
@sphinxdirective
.. meta:: :description: Learn about IsNaN-10 - an element-wise, comparison operation, which can be performed on a single tensor in OpenVINO.
Versioned name: IsNaN-10
Category: Comparison
Short description: IsNaN returns the boolean mask of a given tensor which maps NaN to True.
Detailed description: IsNaN returns the boolean mask of the input tensor in which True corresponds to NaN and False to other values.
The output tensor has the same shape as the input tensor.
The i'th element of the output tensor is True if i'th element of the input tensor is NaN. Otherwise, it is False.
For example, for the given input tensor [NaN, 2.1, 3.7, NaN, Inf] the output tensor is [True, False, False, True, False].
Attributes
IsNaN operation has no attributes.
Inputs:
- 1: A tensor of type T_IN and arbitrary shape. Required.
Outputs:
- 1: A
booleantensor of the same shape as the input tensor.
Types
- T_IN: any supported floating-point type.
Example
.. code-block:: xml :force:
<layer ... type="IsNaN"> 256 56 256 56
@endsphinxdirective