# tensorplay.functional.atan Source: https://www.tensorplay.cn/docs/generated/tensorplay.functional.atan.html ```python tensorplay.functional.atan(input: Tensor, *, out: Tensor | None) → Tensor ``` Returns a new tensor with the arctangent of the elements of input. $$\text{out}_{i} = \tan^{-1}(\text{input}_{i})$$ Parameters: input ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor)) – the input tensor. Keyword Arguments: out ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor), optional) – the output tensor. Example: ``` >>> a = tensorplay.randn(4) >>> a tensor([ 0.2341, 0.2539, -0.6256, -0.6448]) >>> tensorplay.atan(a) tensor([ 0.2299, 0.2487, -0.5591, -0.5727]) ```