mindspore.ops.Acosh
- class mindspore.ops.Acosh[源代码]
逐元素计算输入Tensor的反双曲余弦。
获取更多详情请查看:
mindspore.ops.acosh
。- 支持平台:
Ascend
GPU
CPU
样例:
>>> import numpy as np >>> import mindspore.ops as ops >>> from mindspore import Tensor, dtype >>> acosh = ops.Acosh() >>> x = Tensor(np.array([1.0, 1.5, 3.0, 100.0]), dtype.float32) >>> output = acosh(x) >>> print(output) [0. 0.9624237 1.7627472 5.298292 ]