mindspore.ops.acosh

View Source On Gitee
mindspore.ops.acosh(input)[source]

Computes inverse hyperbolic cosine of each element in inputs tensors.

outi=cosh1(inputi)

Note

Given an input tensor input, the function computes inverse hyperbolic cosine of every element. Input range is [1, inf].

Parameters

input (Tensor) – The input tensor.

Returns

Tensor

Supported Platforms:

Ascend GPU CPU

Examples

>>> import mindspore
>>> output = mindspore.ops.acosh(mindspore.tensor([1.0, 1.5, 3.0, 100.0]))
>>> print(output)
[0.        0.9624237 1.7627472 5.298292 ]