Lunderberg commented on code in PR #16598:
URL: https://github.com/apache/tvm/pull/16598#discussion_r1496740578
##########
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:
So, the problem isn't with calls to inner functions as on line 1224, but
with calls to other functions within the IRModule.
--
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]