masahi commented on a change in pull request #6314:
URL: https://github.com/apache/incubator-tvm/pull/6314#discussion_r473873857



##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -2060,10 +2060,57 @@ def _get_convert_map(prelude):
         "aten::type_as"                         : _type_as(),
         "aten::gather"                          : _gather(),
         "aten::index_select"                    : _select(),
+        "torchvision::nms"                      : _nms(prelude),
     }
     return convert_map
 
 
+def _nms(prelude):

Review comment:
       Following other op converters, please put the definition of `_nms` 
before `_get_convert_map` (after `_meshgrid`). 




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