Remove Tosa_Tensor1Dto4D and Tosa_TensorUpto4D in the Tosa Dialect
and added level checks to TosaValidation pass to validate per spec.
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Icd32137e9f8051f99994cee9f388f20c1a840f4b
Paths
| Differential D154273
[TOSA] Add level checks and remove Tensor1DTo4D ClosedPublic Authored by Tai78641 on Jun 30 2023, 4:31 PM.
Details Summary Remove Tosa_Tensor1Dto4D and Tosa_TensorUpto4D in the Tosa Dialect Signed-off-by: Tai Ly <tai.ly@arm.com>
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 7 2023, 1:44 PM Closed by commit rGd713a00270cc: [TOSA] Add level checks and remove Tensor1DTo4D (authored by Tai78641, committed by eric-k256). · Explain WhyJul 12 2023, 9:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 536477 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
mlir/test/Dialect/Tosa/level_check.mlir
|
This is missing MAX_LOG2_SIZE - on purpose? Maybe leave a comment here that a check for that part of the level is not implemented yet?