Floor#
API#
- class warp_nn.modules.operators.Floor(*, requires_grad: bool = True)[source]#
Bases:
ModuleFloor operation.
This class computes the element-wise floor (largest integer less than or equal to the input):
\[\text{Floor}(x) = \lfloor x \rfloor\]- Parameters:
requires_grad – Whether the cached output arrays of the module require gradients.