Lunderberg commented on code in PR #16204:
URL: https://github.com/apache/tvm/pull/16204#discussion_r1416230395
##########
src/relax/transform/canonicalize_bindings.cc:
##########
@@ -118,9 +119,28 @@ class CanonicalizePlanner : public ExprVisitor {
}
private:
+ void VisitExpr_(const FunctionNode* func) override {
+ // for functions, treat any free vars as used outside their home DF block
Review Comment:
That sounds like a plan, and I agree that it's not currently worth the extra
complexity.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]