wzh99 commented on PR #11681:
URL: https://github.com/apache/tvm/pull/11681#issuecomment-1153090465

   @ganler I have added the test case in 
[test_op_level2.py](https://github.com/apache/tvm/blob/main/tests/python/relay/test_op_level2.py).
 Before the fix is committed, the test fails. As the error message emitted by 
pytest is long, I only show the part from Relay type inference:
   ```
   The Relay type checker is unable to show the following types match:
     Tensor[(16, 0, 1, 1, 1), float32]
     Tensor[(4, 4, 1, 1, 1), float32]
   In particular:
     dimension 0 conflicts: 16 does not match 4.  dimension 1 conflicts: 0 does 
not match 4.
   The Relay type checker is unable to show the following types match.
   In particular `Tensor[(4, 4, 1, 1, 1), float32]` does not match `Tensor[(16, 
0, 1, 1, 1), float32]`
   ```
   After the commit fix, this test is passed. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to