kevinthesun commented on a change in pull request #6318:
URL: https://github.com/apache/incubator-tvm/pull/6318#discussion_r474823691
##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -1755,6 +1757,45 @@ def _impl(inputs, input_types):
return _impl
+def _index():
+ def _impl(inputs, input_types):
+ data = inputs[0]
+ indices = []
+ max_indices_len = -1
+ for index in inputs[1]:
Review comment:
```max_indices_len``` needs to be fetched first.
----------------------------------------------------------------
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]