Ceiling (Ceil)#
API#
- class warp_nn.modules.operators.Ceil(*, requires_grad: bool = True)[source]#
Bases:
ModuleCeiling (Ceil) operation.
This class computes the element-wise ceiling (smallest integer greater than or equal to the input):
\[\text{Ceil}(x) = \lceil x \rceil\]- Parameters:
requires_grad – Whether the cached output arrays of the module require gradients.