Commit 6aa1fce
authored
Arm backend: Add MXFP support for Conv2d (#20421)
Add the possibility to convert `torch.nn.Conv2d` submodules to the
custom implemented MXFP counterpart `MXFPConv2dOp`.
Rewrite the MXFP Conv2d custom op into block-scaled TOSA ops and
fix the serializer, typing.
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com>1 parent 7eeeb86 commit 6aa1fce
21 files changed
Lines changed: 2096 additions & 37 deletions
File tree
- backends/arm
- _passes
- ao_ext
- ops
- operator_support
- operators
- test
- misc
- tosa_dialect
- ops
- mxfp
- passes
- tosa/dialect
- ops
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| 616 | + | |
615 | 617 | | |
616 | 618 | | |
617 | 619 | | |
| |||
0 commit comments