mindspore.numpy.arcsinh

mindspore.numpy.arcsinh(x, dtype=None)[源代码]

Inverse hyperbolic sine element-wise.

说明

Numpy arguments out, where, casting, order, subok, signature, and extobj are not supported.

参数
  • x (Tensor) – Input tensor.

  • dtype (mindspore.dtype, optional) – Default: None. Overrides the dtype of the output Tensor.

返回

Tensor or scalar. This is a scalar if x is a scalar.

Supported Platforms:

Ascend GPU CPU

样例

>>> import mindspore.numpy as np
>>> x = np.array([1., 2., 3., 4.], dtype=np.float32)
>>> print(np.arcsinh(x))
[0.8813736 1.4436355 1.8184465 2.0947125]