Hzfengsy opened a new pull request #9437:
URL: https://github.com/apache/tvm/pull/9437


   The Division operators have different behaviors in C++(`truncdiv`) and 
Python(`floordiv`). Please see details in 
https://github.com/apache/tvm/issues/3478
   
   Floordiv/floormod is wide used in buffer indices, which is also the default 
behavior in Python. So we change the TVMScipt printer and parser to use `//` 
and `%` for `FloorDiv`/`FloorMod`. `/` and `truncmod` for `Div` and `Mod`


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