junrushao1994 edited a comment on pull request #9023:
URL: https://github.com/apache/tvm/pull/9023#issuecomment-920494401


   I think I sort of understand the usecase here: some negative indices are 
known to be negative until in runtime. This forces us to defer the conversion 
from compile-time to runtime.
   
   On the other hand, I am not 100% sure if it is the best fix by adding a new 
argument in the public interface, given that in most cases indices are just 
positive and well in-range.
   
   I was thinking, if the issue comes from an importer, is it possible to add 
an operator like `normalize_indices`, mark it as `injective` which makes it 
fusible, so that there isn't architectural change in TE? What do you guys think?


-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to