You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/01/14 09:11:04 UTC

[GitHub] [tvm] codeislife99 opened a new issue #7281: Frontend PT cannot accept List[Tensor] as input

codeislife99 opened a new issue #7281:
URL: https://github.com/apache/tvm/issues/7281


   I get the following error, because `inputs[0]` is of type `Var` and its typeannotation is 
   `<class 'tvm.ir.type_relation.TypeCall'>`
   
   ```
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 3078, in from_pytorch
       ret = converter.convert_operators(_get_operator_nodes(graph.nodes()), outputs, ret_name)[0]
     File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 2477, in convert_operators
       unpacked = _unpack_tuple(inputs[0])
     File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 2904, in _unpack_tuple
       assert False
   AssertionError 
   ```
   


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



[GitHub] [tvm] masahi closed issue #7281: Frontend PT cannot accept List[Tensor] as input

Posted by GitBox <gi...@apache.org>.
masahi closed issue #7281:
URL: https://github.com/apache/tvm/issues/7281


   


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