masahi commented on code in PR #14097:
URL: https://github.com/apache/tvm/pull/14097#discussion_r1116345100
##########
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:
cc @Hzfengsy, I'm not sure what this code path is for. I can pass all tests
without this.
--
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]