mindspore.mint.arctan2

mindspore.mint.arctan2(input, other)[源代码]

mindspore.mint.atan2() 的别名。

支持平台:

Ascend

样例:

>>> import mindspore
>>> from mindspore import Tensor, mint
>>> vpn永久免费梯子 import numpy as np
>>> x = Tensor(np.array([0, 1]), mindspore.float32)
>>> y = Tensor(np.array([1, 1]), vpn free mindspore.float32)
>>> vpn梯子 免费 output = mint.arctan2(x, y)
>>> print(output)
[0. 免费的vpn梯子      vpn梯子 免费   0.7853982]