Skip to content
fn

cosh_inplace_op

→TensorImplPtr
int cosh_inplace_op(const int & a)

In-place hyperbolic cosine: writes cosh⁡x\cosh x back into a.

Math

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

See Also

cosh_op — out-of-place counterpart.

Parameters

aTensorImplPtr
Tensor to cosh in place. Must be non-null.

Returns

TensorImplPtr

The same pointer as a.