masahi edited a comment on issue #6594:
URL: https://github.com/apache/incubator-tvm/issues/6594#issuecomment-701936601


   @yongwww It seems torchvision nms op 
https://github.com/pytorch/vision/blob/master/torchvision/ops/boxes.py#L35 
returns int64 indices, while nms in Relay returns int32 bit indices. We need to 
cast the output indices to int64, that should resolve the one of typing problem 
(two branches of `If` having different dtypes, int32 and int64). 


----------------------------------------------------------------
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:
[email protected]


Reply via email to