trevor-m commented on pull request #7346:
URL: https://github.com/apache/tvm/pull/7346#issuecomment-768611717


   > No, the `If` there is for guarding against the case where there is no 
boxes, see
   > 
   > 
https://github.com/pytorch/vision/blob/8ebfd2f5d5f1792ce2cf5a2329320f604530a68e/torchvision/ops/boxes.py#L78-L79
   > 
   > So applying topk to an empty tensor is nop anyway.
   
   Got it, thanks!


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