Hzfengsy commented on code in PR #14097:
URL: https://github.com/apache/tvm/pull/14097#discussion_r1117879157
##########
src/relax/transform/fuse_ops.cc:
##########
@@ -395,14 +394,8 @@ class FunctionCreator : public ExprMutator {
}
}
- for (const Expr& arg : call->args) {
- CheckDefAndUpdateParam(arg);
- }
+ CheckDefAndUpdateParams(call, call->args);
}
- } else {
- const auto* tuple_item = var_binding->value.as<TupleGetItemNode>();
- ICHECK(tuple_item != nullptr);
- CheckDefAndUpdateParam(tuple_item->tuple);
Review Comment:
It is used for the TupleGetItem node. I'm surprised that it is not covered
by the tests
--
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]