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


   I think I sort of understand the usecase here, where some indices are known 
negative only in runtime, which forces us to check things on 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. 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? 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