Lunderberg commented on code in PR #16598:
URL: https://github.com/apache/tvm/pull/16598#discussion_r1496878192


##########
src/relax/transform/fuse_ops.cc:
##########
@@ -1238,10 +1238,14 @@ class CompositeFunctionAnnotator : public ExprMutator {
 
   Expr VisitExpr_(const FunctionNode* func_node) final {
     Function f_inner = Downcast<Function>(ExprMutator::VisitExpr_(func_node));
-    auto composite_name = func_node->GetAttr<String>(attr::kComposite);
+
+    if (!func_node->GetAttr<String>(attr::kComposite)) {

Review Comment:
   Whoops, you're right on that one.  It's if there is a inner function in the 
input `IRModule`. (Apologies, trying to track too many PRs at one time.)



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

Reply via email to