Commit 8be22a2
committed
[mlir][tosa] Fix validation support for argmax with int64 output
This commit fixes support for the argmax operation by allowing
fp8/bf16 input operands with an int64 output type in the
profile compilance such that it aligns with the spec.
Change-Id: I129383923c6aac639907d0fa6e83ee4bc97c774d1 parent a8a0ffb commit 8be22a2
File tree
2 files changed
+26
-1
lines changed- mlir
- include/mlir/Dialect/Tosa/IR
- test/Dialect/Tosa
2 files changed
+26
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
480 | 489 | | |
481 | 490 | | |
482 | 491 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
0 commit comments