siju-samuel commented on a change in pull request #5383:
URL: https://github.com/apache/incubator-tvm/pull/5383#discussion_r412097547



##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -337,6 +337,55 @@ def _impl(inputs, input_types):
         return _op.transform.repeat(data, repeats=repeats, axis=axis)
     return _impl
 
+
+def _parse_input_data(inp):
+    import torch
+    if isinstance(inp, _expr.Var):
+        data = inp
+    elif isinstance(inp, _expr.Call):
+        data = inp
+    elif isinstance(inp, torch.Tensor):

Review comment:
       
![image](https://user-images.githubusercontent.com/15828974/79860349-25ee8600-83f0-11ea-8552-3e4c04a1bf97.png)
   
   You can see the type of inputs, which im printing.




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


Reply via email to