Attribute stride and shift are removed, and has new scale and border.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: I6cdbeb3978f5ee540bc6cf59eb7c273eb0131430
Paths
| Differential D131629
[mlir][tosa] Update TOSA resize to match specification ClosedPublic Authored by tatwaichong on Aug 10 2022, 3:46 PM.
Details Summary Attribute stride and shift are removed, and has new scale and border. Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Diff Detail
Event TimelineThis revision now requires changes to proceed.Aug 23 2022, 1:57 PM This revision is now accepted and ready to land.Oct 5 2022, 12:46 PM Closed by commit rGff23599a0dfc: [mlir][tosa] Update TOSA resize to match specification (authored by tatwaichong, committed by rsuderman). · Explain WhyOct 5 2022, 1:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 465525 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
mlir/test/Dialect/Tosa/ops.mlir
mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
|
You need to check for dynamic shapes. this assumes the inHeight is always guaranteed to be static which is not technically guaranteed in the IR