jikechao opened a new pull request, #15752:
URL: https://github.com/apache/tvm/pull/15752

   The original implementation of Flip in PyTorch converter mistaken the type 
of attribute `axis` in the Flip operator as an integer. Thus, It only parses 
the first element of the `axis` and will give a wrong calculation result when 
the length of `axis` is more than one.  According to the PyTorch documentation 
[here](https://pytorch.org/docs/stable/generated/torch.flip.html), the type of 
`axis` is a list or tuple.
   
   
   This PR corrected the incorrect implementation of the algorithm of 
`torch.flip` converter and added a regression test.
   
   cc @echuraev @Hzfengsy @vvchernov @MasterJH5574 
   


-- 
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