Autograd node for the multi-axis reduction minimum .
Symmetric to MaxBackward: the gradient flows to positions
where equals the reduced minimum. Ties share gradient equally
and the same composed ge/ge equality-mask trick is used.
Math
Attributes
schema_ v1OpSchemaRegistered as
"min" with AmpPolicy::KeepInput.kSavesOutputbooltrue.Static methods
1Methods
2Backward — argmin-indicator gradient: routes grad_out only to positions where equals the reduced min (ties share equally).
Graph-mode scaling. Without this the base class returns the broadcast gradient unchanged — the sum rule — so create_graph=True silently produced the incoming seed at every position while eager backward was correct.