tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] siju-samuel commented on pull request #5603: [PYTORCH]ImplicitTensorToNum support added
Date Fri, 15 May 2020 11:05:24 GMT

siju-samuel commented on pull request #5603:
URL: https://github.com/apache/incubator-tvm/pull/5603#issuecomment-629174157


   pytorch graph
   ```
   graph(%x : Tensor,
         %y : Tensor):
     %2 : int = prim::ImplicitTensorToNum(%x)
     %3 : int = prim::ImplicitTensorToNum(%y)
     %4 : int[] = prim::ListConstruct(%2, %3)
     %5 : int[] = aten::list(%4)
   ```
   %5 will be used as reshape's new shape or transpose's axis etc. 
   
   


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



Mime
View raw message