Commit a9ea31e
Add regression test for EinsumDense bias_axes ordering
The four prior EinsumDense test cases all used bias_axes in canonical
(rhs-matching) order, so the bias-ordering bug fixed in the previous
commit was invisible to the suite. Add an explicit case where bias_axes
is permuted ('ed' on rhs='abde'). Verified by temporarily reverting the
fix: this case fails the 1e-5 tolerance, confirming the test now catches
the regression.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 568321e commit a9ea31e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
581 | 586 | | |
582 | 587 | | |
583 | 588 | | |
| |||
0 commit comments