This LGTM but I'm thinking going back to relay_to_tir being a 
Function->PrimFunc packed func as you implemented in the companion PR is better 
since it makes it easier for all the caching, call rewriting, dynamic shape 
handling and other bookkeeping to be shared. Have you tried out the pass 
approach and convinced youself that reuse is still possible?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm-rfcs/pull/10#issuecomment-910485693

Reply via email to