* tmp * Fix atanh correctness test issue and veriyf pass. Signed-off-by: Yan, Xiping <xiping.yan@intel.com> * Only keep available input value for correctness test. Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
56 lines
1.3 KiB
Markdown
56 lines
1.3 KiB
Markdown
## Atanh <a name="Atanh"></a> {#openvino_docs_ops_arithmetic_Atanh_3}
|
|
|
|
**Versioned name**: *Atanh-3*
|
|
|
|
**Category**: *Arithmetic unary*
|
|
|
|
**Short description**: *Atanh* performs element-wise hyperbolic inverse tangent (arctangenth) operation with a given tensor.
|
|
|
|
**Detailed description**: *Atanh* performs element-wise hyperbolic inverse tangent (arctangenth) operation on a given input tensor, based on the following mathematical formula:
|
|
|
|
Float type input:
|
|
|
|
\f[ a_{i} = atanh(a_{i}) \f]
|
|
|
|
Signed Intragral type put:
|
|
|
|
\f[ a_{i} = (i <= -1) ? std::numeric_limits<T>::min() : (i >= 1) ? std::numeric_limits<T>::max() : atanh(a_{i}) \f]
|
|
|
|
Unsigned Intragral type put:
|
|
|
|
\f[ a_{i} = (i > 0) ? std::numeric_limits<T>::max() : atanh(a_{i}) \f]
|
|
|
|
|
|
**Attributes**: Atanh operation has no attributes.
|
|
|
|
**Inputs**
|
|
|
|
* **1**: A tensor of type *T*. **Required.**
|
|
|
|
**Outputs**
|
|
|
|
* **1**: The result of element-wise atanh operation applied to the input tensor. A tensor of type *T* and the same shape as input tensor.
|
|
|
|
**Types**
|
|
|
|
* *T*: any supported numeric type.
|
|
|
|
**Examples**
|
|
|
|
```xml
|
|
<layer ... type="Atanh">
|
|
<input>
|
|
<port id="0">
|
|
<dim>256</dim>
|
|
<dim>56</dim>
|
|
</port>
|
|
</input>
|
|
<output>
|
|
<port id="1">
|
|
<dim>256</dim>
|
|
<dim>56</dim>
|
|
</port>
|
|
</output>
|
|
</layer>
|
|
```
|