mindspore.ops.arctan

mindspore.ops.arctan(input)[源代码]

mindspore.ops.atan() 的别名。

支持平台:

Ascend GPU CPU

样例:

>>> import mindspore
>>> from mindspore import Tensor, ops
>>> import numpy as np
>>> x = Tensor(np.array([1.0, 0.0]), mindspore.float32)
>>> output = ops.arctan(x)
>>> print(output)
[0.7853982 0.       ]