Skip to content
fn

tan_inplace_op

→TensorImplPtr
int tan_inplace_op(const int & a)

In-place tangent: writes tan⁡x\tan x back into a.

Math

ai←tan⁡(ai)a_i \leftarrow \tan(a_i)

See Also

tan_op — out-of-place counterpart.

Parameters

aTensorImplPtr
Tensor (radians) to tangent in place. Must be non-null.

Returns

TensorImplPtr

The same pointer as a.