Commit a3a0190
Arm backend: Match arg ranks for min/max ops (#16181)
- 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
Signed-off-by: Yufeng Shi <yufeng.shi@arm.com>
Co-authored-by: Ryan O'Shea <ryan.oshea3@arm.com>
Co-authored-by: Rob Elliott <Robert.Elliott@arm.com>1 parent 1cb85ef commit a3a0190
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