Commit eea7f8e
Add transpose perm corruption negative test for MHA
The original negative test had a tuple-vs-list comparison bug:
get_ints() returns a tuple, so perm == [0,2,1,3] was always False,
meaning the corruption never happened. Fixed to compare with tuple.
Confirmed the fusion correctly rejects mismatched Transpose perms.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1a024e8 commit eea7f8e
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
257 | 269 | | |
258 | 270 | | |
259 | 271 | | |
0 commit comments