Commit f905830
authored
Fix missing const's layout transformation and refactor NCHWtoNHWC passes (#122)
The NCHWtoNHWC passes were missing the layout transformation of the bias (in the `Conv` case) or mul/add/shift (in the `RequantizedConv` case).
In the process of adding that I refactored the passes in general.
## Changed
- refactor of NCHWtoNHWC passes
## Fixed
- missing layout transformation of the const's (bias, mul, add, shift in Conv/RequantizedConv)1 parent cf691c4 commit f905830
File tree
3 files changed
+211
-326
lines changed- Deeploy
- CommonExtensions/OptimizationPasses/TopologyOptimizationPasses
- Targets/Neureka
3 files changed
+211
-326
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
0 commit comments