mbrookhart commented on pull request #7487:
URL: https://github.com/apache/tvm/pull/7487#issuecomment-785399867


   The shape function only runs if the output shape of the op is dynamic at 
compile time:
   
   
https://github.com/apache/tvm/blob/88a4fdddc2bdd41a62baaaa55dbd4c524d25933d/src/relay/transforms/memory_alloc.cc#L185-L187
   
https://github.com/apache/tvm/blob/88a4fdddc2bdd41a62baaaa55dbd4c524d25933d/src/relay/transforms/memory_alloc.cc#L356
   
https://github.com/apache/tvm/blob/88a4fdddc2bdd41a62baaaa55dbd4c524d25933d/src/relay/transforms/memory_alloc.cc#L287-L350


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


Reply via email to