When padding quantized operations, the padding needs to equal the zero point
of the input value. Corrected the pass to change the padding value if quantized.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D108440
[mlir][tosa] Fix conv/depthwise conv padding for quantized values ClosedPublic Authored by rsuderman on Aug 19 2021, 7:56 PM.
Details Summary When padding quantized operations, the padding needs to equal the zero point
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, armkevincheng and 22 others. · View Herald Transcript This revision is now accepted and ready to land.Aug 24 2021, 5:57 PM Closed by commit rGa7bf93807b40: [mlir][tosa] Fix conv/depthwise conv padding for quantized values (authored by rsuderman). · Explain WhyAug 24 2021, 6:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 367698 mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
|