Commit 2137894
authored
Arm backend: Fix sum call signature in DecomposeSumPass (#19546)
exir_ops.edge.aten.sum.dim_IntList requires the second arg to be a
list[int]. The DecomposeSumPass and op_sum, however, used int. Seems
like the operator itself could handle it, but later passes tripped on it
in some cases.
Since the documented signature is list[int], modify DecomposeSumPass and
op_sum to use that.1 parent 9ccbc4a commit 2137894
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments