Compute the mathematical ceiling (round up) of each element in a tensor. There is a method version of this static function: Tensor.ceil.
⌈x⌉:∀x∈T\lceil x \rceil : \forall x \in T⌈x⌉:∀x∈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.
⌈x⌉:∀x∈T
Example
Returns