Commit fbb3ad1
authored
Arm backend: Fix ensures check in UnsqueezeScalarPlaceholdersPass (#10811)
- In UnsqueezeScalarPlaceholdersPass, only the placeholders that meet
certain conditions will be unsqueezed. Otherwise, they retain their
original shape. This patch adds a new check to ensure that placeholders
that don't meet the conditions should be skipped
Signed-off-by: Yufeng Shi <[email protected]>
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218
Signed-off-by: Yufeng Shi <[email protected]>1 parent b173722 commit fbb3ad1
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
0 commit comments