Files
openvino/docs/ops/arithmetic/Atanh_3.md
Xiping Yan b7ccdf4490 Xp/fix jira 6671 atanh fail mac wins (#8058)
* 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>
2021-10-19 14:33:49 +03:00

1.3 KiB

Atanh

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::min() : (i >= 1) ? std::numeric_limits::max() : atanh(a_{i}) \f]

Unsigned Intragral type put:

\f[ a_{i} = (i > 0) ? std::numeric_limits::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

<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>