[Mlir-commits] [mlir] Fix tosa::TransposeOp::inferReturnTypeComponents() (PR #88656)
Maya Amrami
llvmlistbot at llvm.org
Tue Apr 16 05:19:03 PDT 2024
amrami wrote:
Hi!
Actually the commit was not complete..
What I really want to do is enable the verification of tosa.transpose.
By adding "InferTensorType" interface to the op's declaration, we get the verifier for free.
The "@transpose_wrong_sizes" example I added is considered verified on current master.
I got messed up with the tests containing "quant.uniform". I erased them just to pass the tests - not sure what to do with them because now the input does not pass verification..
And now the idea of running tosa-infer-shapes on tosa.transpose is not needed.
I erased two tests there where the input is not verified now.
I'll be glad to hear your opinions.
Thanks,
Maya
https://github.com/llvm/llvm-project/pull/88656
More information about the Mlir-commits
mailing list