anijain2305 commented on a change in pull request #4944: [Relay, Torch] Clean
up and refactor PyTorch frontend
URL: https://github.com/apache/incubator-tvm/pull/4944#discussion_r384667422
##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -718,293 +732,241 @@ def _convert_elemwise_input(data, input_type):
"aten::sqrt" : _sqrt()
}
-# Internal graph for parsing
-class Graph(object):
- """ A helper class for parsing PyTorch model to Relay graph."""
+def run_jit_passes(graph):
+ """ The inline pass is nessary to unwrap prim::CallMethod """
Review comment:
s/nessary/necessary
----------------------------------------------------------------
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]
With regards,
Apache Git Services