lhutton1 opened a new pull request #10411:
URL: https://github.com/apache/tvm/pull/10411


   Builds upon the work in #10254 to remove identity operations sandwiched 
between two non compute operations (reshape/strided slice - concatenate is 
handled differently), under certain conditions. Specifically, an identity 
operation is not removed when the dimensionality between the two non-compute 
operations is reduced, due to non congruent values being accessed incorrectly. 
For example,
   
   ```
   strided_slice(dims=4) -> identity -> reshape(dims=4)
   ```
   becomes...
   ```
   strided_slice -> reshape
   ```
   but,
   ```
   strided_slice(dims=4) -> identity -> reshape(dims=2)
   ```
   becomes...
   ```
   strided_slice -> reshape
   ```
   
   Based upon work in #10254, so therefore contains the contents of that PR.
   
   cc @ekalda @manupa-arm @mbaret @NicolaLancellotti @jacobbohlin @dchauhan-arm 
   


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