You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/04/04 05:48:59 UTC

[GitHub] [incubator-tvm] hzfan commented on issue #5219: [TOPI] Use int32 for indices of strided_slice/take/gather_nd

hzfan commented on issue #5219: [TOPI] Use int32 for indices of strided_slice/take/gather_nd
URL: https://github.com/apache/incubator-tvm/pull/5219#issuecomment-608979127
 
 
   It would be great if we can support i64 indices which does not fit into i32 (like 2^60). Simply casting i64 to i32 does not work in this scenario. A possible alternative is to modify the `GetShape` function (https://github.com/apache/incubator-tvm/blob/master/src/relay/backend/compile_engine.cc#L102) like #5235. Could you give it a try?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services