Skip to content
fn

ceil_inplace_op

→TensorImplPtr
int ceil_inplace_op(const int & a)

In-place ceiling: writes ⌈x⌉\lceil x \rceil back into a.

Math

ai←⌈ai⌉a_i \leftarrow \lceil a_i \rceil

See Also

ceil_op — out-of-place counterpart.

Parameters

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

Returns

TensorImplPtr

The same pointer as a.