alexwong opened a new pull request #4497: [WIP] [Relay] Add a PyTorch to Relay 
Parser
URL: https://github.com/apache/incubator-tvm/pull/4497
 
 
   Thanks for contributing to TVM!   Please refer to guideline 
https://docs.tvm.ai/contribute/ for useful information and tips. After the pull 
request is submitted, please request code reviews from 
[Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers)
 by @ them in the pull request thread.
   
   Note: No need to review yet, just here for visibility
   
   Originally submitted PR in a fork of TVM but putting one here as well. May 
close other one depending on outcome of discussion here 
https://discuss.tvm.ai/t/discuss-adding-a-pytorch-frontend/5026/4. 
   
   Support PyTorch natively in TVM by providing a relay parser. Like other 
frontends, grab the relay module and paramaters to build via:
   mod, params = relay.frontend.from_pytorch(trace, input_shapes)
   
   Tested against torchvision models in the included test_forward.py. Some 
discussion here: 
https://discuss.tvm.ai/t/discuss-adding-a-pytorch-frontend/5026/4

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

Reply via email to