[mlir][tosa] Update TOSA resize to match specification
authorTatWai Chong <tatwai.chong@arm.com>
Wed, 5 Oct 2022 19:47:25 +0000 (12:47 -0700)
committerRob Suderman <suderman@google.com>
Wed, 5 Oct 2022 20:18:00 +0000 (13:18 -0700)
commitff23599a0dfc857c4e80854a35026be4a29dd57c
tree48ad9a48c10f24dd61d11a60c43ca6fa494cb603
parent5ea78c4113f8d2c8be24152f2dd0cadaea352c9d
[mlir][tosa] Update TOSA resize to match specification

Attribute stride and shift are removed, and has new scale and border.

Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: I6cdbeb3978f5ee540bc6cf59eb7c273eb0131430

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D131629
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