Repository navigation
Fixed some testcases with static verification prototype for linalg operations - #5169
Conversation
According to my understand for manually math calculation, in llvm_specific/conv.mlir, conv2d_nopadding function should have (tensor<1x4x5x2xf32>, tensor<3x2x2x1xf32>) -> tensor<1x2x4x1xf32> or (tensor<1x4x4x2xf32>, tensor<3x2x2x1xf32>) -> tensor<1x2x3x1xf32>. I mean, if the input shape is 1x4x5x2, then the output should be 1x2x4x1. But if the input shape is 1x4x4x2, then the output shape should be 1x2x3x1. So, my result is that this test has mismatch input/output shapes.. If I assume the input shape is 1x4x4x2, then I think the calculated result is correct. If the output shape should be fixed to 1x2x4x1, then I think we need to fix the result as long as my idea is correct. |
I fixed some testcases with verification prototype. The prototype is in https://reviews.llvm.org/D98390 .
I think this change should be merged before the verification is landed since it might interrupt building the entire IREE..