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 2021/01/27 22:09:47 UTC

[GitHub] [tvm] trevor-m commented on pull request #7346: [Torch] More graph rewrites for Faster RCNN / MaskRCNN

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