mindspore.ops.arctan

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

Alias for mindspore.ops.atan().

Supported Platforms:

Ascend GPU CPU

Examples

>>> 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.       ]