masahi commented on issue #4497: [Relay] Add a PyTorch to Relay Parser
URL: https://github.com/apache/incubator-tvm/pull/4497#issuecomment-582565991
 
 
   @alexwong please address my comment at 
https://github.com/apache/incubator-tvm/pull/4497/files#r370911013
   
   Add `with torch.no_grad()` and remove `detach()` there. Also calling 
`eval()` once on your torch module is a good idea.

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


With regards,
Apache Git Services

Reply via email to