jinhongyii commented on code in PR #16088:
URL: https://github.com/apache/tvm/pull/16088#discussion_r1387132568
##########
python/tvm/relax/transform/lazy_transform_params.py:
##########
@@ -188,24 +199,24 @@ def visit_var_(self, var: relax.Var) -> None:
return super().visit_var_(var)
def visit_var_binding_(self, binding: relax.VarBinding) -> None:
- if binding.var == self.out_tuple_var:
+ if self.fset_item is not None and binding.var == self.out_tuple_var:
Review Comment:
sounds good. let me try
--
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]