Commit b28d0a6
Arm backend: Match arg ranks for min/max ops
- Int32 clamp is decomposed into min/max, but input_tensor and
min_arg/max_arg can end up with different ranks (e.g. (1,) vs ())
after subsequent passes. This violates the TOSA requirements for
TOSA.MINIMUM and TOSA.MAXIMUM in the node visitors.
- Fix this by matching the input ranks in MatchArgRanksPass
Change-Id: I47a3bb73832ddc35553cd3e5b65085155eb9ca48
Signed-off-by: Yufeng Shi <[email protected]>
Co-authored-by: Ryan O'Shea <[email protected]>
Co-authored-by: Rob Elliott <[email protected]>1 parent c398ff4 commit b28d0a6
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments