ANSHUMAN87 edited a comment on pull request #7656:
URL: https://github.com/apache/tvm/pull/7656#issuecomment-798144818


   > > 2:> Now we are just looking at the start of the chain of transpose, i 
suggest we look at intermediate residue as well.
   > 
   > Could you provide an example of this case for better illustration? Thanks.
   
   For example we have below case:
   Expression: 
   y = nn.conv(x)
   y = transpose(y, axes=0, 3, 1, 2)
   y = transpose(y)
   y = transpose(y)
   
   Expected transformation:
   y = nn.conv(x)
   y = transpose(y, axes=0, 3, 1, 2)
   
   Above such cases can be multiple in a sequence as well. So we need to have a 
solution which can handle multiple simplification in one chain. Please let me 
know, in case i have not clearly expressed. Thanks!
   
   I understand we can have these points covered in follow up PRs as well. If 
we are not planning to do it in this PR. Suggest to add TODOs for these points 
in the source code, which will help in future.


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

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


Reply via email to