Skip to content
fn

sin_inplace_op

→TensorImplPtr
int sin_inplace_op(const int & a)

In-place sine: writes sin⁡x\sin x back into a.

Math

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

See Also

sin_op — out-of-place counterpart.

Parameters

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

Returns

TensorImplPtr

The same pointer as a.