Commit 03333c5
NXP backend: Fix shared quantization bugs. (#13844)
### Summary
Fix 2 bugs related to quantization parameters that are shared between
multiple tensors/nodes:
- Turn off bias tensor reuse in Convolution converter
- Fix _has_shared_q_params_if_quantized in Node converter
### Test plan
No direct unit tests are provided. Correct functionality is tested by
all tests with quantized nodes.
---
Co-authored-by: Roman Janik <[email protected]>1 parent 8c51641 commit 03333c5
File tree
2 files changed
+3
-8
lines changed- backends/nxp/backend/ir/converter
- node_converters/ops_converters
2 files changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 135 | + | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments