mbarrett97 commented on issue #4864: [Relay] Ignore Primitive functions in 
Visitors
URL: https://github.com/apache/incubator-tvm/pull/4864#issuecomment-584737964
 
 
   I agree it's not ideal to modify the behaviour of the Visitors directly. 
However, if I sub-class to produce a 'PrimitiveSkippingVisitor' then all 
existing passes that need to skip primitives will need updating (and all future 
ones will need to know to use the subclass too). In practice, that's almost 
every pass. I can attempt to do this if that's desirable, but it doesn't seem 
like an elegant solution.
   
   Alternatively, there may be an entirely different approach to resolve this 
issue that I haven't considered. Either way, I think this does need a 
resolution as it breaks quite a lot of the BYOC infrastructure.

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


With regards,
Apache Git Services

Reply via email to