oneflow.atan¶
-
oneflow.
atan
()¶ Returns a new tensor with the arctangent of the elements of
input
.\[\text{out}_{i} = \tan^{-1}(\text{input}_{i})\]- Parameters
input (Tensor) – the input tensor.
For example:
>>> import oneflow as flow >>> import numpy as np >>> input = flow.tensor(np.array([0.5, 0.6, 0.7]), dtype=flow.float32) >>> output = flow.atan(input) >>> output.shape oneflow.Size([3])