Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for element-wise floor: .
Piecewise-constant; derivative is zero almost everywhere and undefined
at integer boundaries. kHasGradient = false; the backward node is
registered for schema completeness only.
Math
(largest integer not greater than ).
Attributes
kSavesInputboolfalse — nothing to save.kHasGradientboolfalse — autograd wiring is skipped.schema_v1OpSchemaOp name
"floor" with AmpPolicy::KeepInput.Notes
Integer dtypes are a no-op. Negative values round toward
(NOT toward zero — that is trunc).