FZYUAN-1 opened a new pull request #10098:
URL: https://github.com/apache/tvm/pull/10098


   Hello community,
   
   This PR links to #10064. 5 ops (scatter, scatter_add, scatter_nd, 
unravel_index, adv_index) accept unsigned integers as indices. Somehow 
unravel_index with uint indices may raise 
   ```
   Check failed: y != 0 (0 vs. 0) 
   ```
   in function
   
https://github.com/apache/tvm/blob/e6af87491eb250a3266b1f09b36055c6ee79146b/src/arith/const_int_bound.cc#L486.
   
   I tried to figure out why shape[v] can be 0 in 
https://github.com/apache/tvm/blob/7b9fd1e2ab5e0af927f202faef5d682706608fc7/include/tvm/topi/transform.h#L383,
   but I failed to understand.
   
   Thank reviewers for your help and your time speeding in CR. 
   
   cc @AndrewZhaoLuo 


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