Reduction IR Lowering #
Checked lowering for broadcasts, axis reductions, full reductions, and scalar losses.
Each operation has its own small lower* definition. lowerReduction only dispatches on the
operation kind, and the lowerReduction_* equation lemmas let correctness proofs reduce a dispatch
to the branch they care about without unfolding the whole dispatcher.
Checked lowering for .broadcastTo s₁ s₂.
Instances For
Checked lowering for .reduceSum axis.
Instances For
Checked lowering for .reduceMean axis.
Instances For
Checked lowering for .sum.
Instances For
Checked lowering for .mseLoss.
Instances For
Checked lowering for broadcasts, axis reductions, full reductions, and scalar losses.
Instances For
Dispatch equation for .broadcastTo s₁ s₂.
Dispatch equation for .reduceSum axis.
Dispatch equation for .reduceMean axis.
Dispatch equation for .sum.
Dispatch equation for .mseLoss.