Skip to content
fn

arctan_op

→TensorImplPtr
int arctan_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

Compute y=arctan⁡(x)y = \arctan(x) element-wise. Allocates a fresh output of the same shape and dtype as a and delegates to AtanBackward::forward.

See Also

AtanBackward — backward node.

Parameters

aTensorImplPtr
Input tensor of any shape. Domain is all of R\mathbb{R}.

Returns

TensorImplPtr

Output tensor of the same shape and dtype, values in (−π2,π2)(-\tfrac{\pi}{2}, \tfrac{\pi}{2}).