Compute the mathematical ceiling (round up) of each element in a tensor. There is a method version of this static function: Tensor.ceil.
$$\lceil x \rceil : \forall x \in T$$
const t = sm.randn([128, 128]) // equivalent calls const a = t.ceil() const b = sm.ceil(t)
Tensor whose values will have their mathematical ceiling calculated
Generated using TypeDoc
Compute the mathematical ceiling (round up) of each element in a tensor. There is a method version of this static function: Tensor.ceil.
$$\lceil x \rceil : \forall x \in T$$
Example
Returns