jroesch commented on a change in pull request #6274:
URL: https://github.com/apache/incubator-tvm/pull/6274#discussion_r493085244
##########
File path: python/tvm/ir/module.py
##########
@@ -72,9 +72,9 @@ def __setitem__(self, var, val):
val: Union[Function, Type]
The value.
"""
- return self._add(var, val)
+ return self._add(var, val, True)
- def _add(self, var, val, update=False):
+ def _add(self, var, val, update=True):
Review comment:
Remove update/add in future PR.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]