mindspore.ops.Asinh

class mindspore.ops.Asinh[source]

Computes inverse hyperbolic sine of the input element-wise.

Refer to mindspore.ops.asinh() for more details.

Inputs:
  • x (Tensor) - The input Tensor, its rank should be less than 8.

Outputs:

Tensor, has the same shape and type as x.

Supported Platforms:

Ascend GPU CPU

Examples

>>> import mindspore
>>> import numpy as np
>>> from mindspore import Tensor, ops
>>> asinh = ops.Asinh()
>>> x = Tensor(np.array([-5.0, 1.5, 3.0, 100.0]), mindspore.float32)
>>> output = asinh(x)
>>> print(output)
[-2.3124382  1.1947632  1.8184465  5.298342 ]