mindspore.mint.atanh

View Source On Gitee
mindspore.mint.atanh(input)[source]

Computes inverse hyperbolic tangent of the input element-wise.

outi=tanh1(inputi)
Parameters

input (Tensor) – The input tensor.

Returns

Tensor

Supported Platforms:

Ascend

Examples

>>> import mindspore
>>> output = mindspore.mint.atanh(mindspore.tensor([0, -0.5]))
>>> print(output)
[ 0.         -0.54930615]