[mlir][tosa] Canonicalize tosa.transpose to tosa.reshape
Added tosa.transpose canonicalization for case where a tosa.transpose is equivalent to a tosa.reshape. This occurs when the permutation does not permutate non-unary dimensions. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D140356
Loading
Please sign in to comment