mbarrett97 commented on issue #4864: [Relay] Ignore Primitive functions in 
Visitors
URL: https://github.com/apache/incubator-tvm/pull/4864#issuecomment-584758674
 
 
   An example to illustrate why this breaks is that we have external codegens 
that want to act directly on the relay 'qnn dialect'. However, this is all 
lowered away once QnnCanonicalize/Legalize is called. Therefore, if we leave 
the external functions inlined their contents also gets lowered and we lose all 
the qnn ops.
   
   If we removed the external functions from 'main' altogether, I think that 
could work but might require some restructuring of the build process. I'll have 
a look into it.

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


With regards,
Apache Git Services

Reply via email to