From bc0e73a7d3c8a72598ff61f59726614474cac10c Mon Sep 17 00:00:00 2001 From: Matthias Gehre Date: Wed, 14 Jun 2023 18:03:55 +0200 Subject: [PATCH] TOSA: Allow to transpose 7D tensors and higher --- mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td index 38766d8361167..2d04fb169deae 100644 --- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td +++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td @@ -1595,12 +1595,12 @@ def Tosa_TransposeOp : Tosa_Op<"transpose", [ }]; let arguments = (ins - Tosa_Tensor1Dto6D:$input1, + Tosa_Tensor:$input1, Tosa_Int32Or64Tensor:$perms ); let results = ( - outs Tosa_Tensor1Dto6D:$output + outs Tosa_Tensor:$output ); let extraClassDeclaration = [{