Change Rescale shift attribute to be DenseI8ArrayAttr to match spec
(instead of DenseI32ArrayAttr)
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Ib9f492845eb7e71cb6bf32cbcd785011cae6eb3d
Paths
| Differential D157439
[mlir][tosa]Fix Rescale shift attr data type AbandonedPublic Authored by Tai78641 on Aug 8 2023, 1:50 PM.
Details
Summary Change Rescale shift attribute to be DenseI8ArrayAttr to match spec Signed-off-by: Tai Ly <tai.ly@arm.com>
Diff Detail
Event Timelinersuderman added inline comments.
Comment Actions
Revision Contents
Diff 548343 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
mlir/test/Dialect/Tosa/ops.mlir
mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
mlir/test/lib/Dialect/Tosa/TosaTestPasses.cpp
|
For these kind of changes it is better to relax the requirement (support i32s and i8s) for a fixed period of time, then constrain back to i8. This allows downstream users to incrementally transition vs breaking all users immediately.