Generate the CUDA axisMap for right-aligned broadcasting.
The proof establishes compatibility, but the map itself is determined solely by the two ranks: missing leading axes map to zero, and every remaining output axis maps to its aligned input axis.
Instances For
CUDA axis map that restores the axis removed by shapeAfterSum.
Instances For
CUDA metadata for TorchLean.Tensor.broadcastAfterSum.