Icemist commented on code in PR #12545:
URL: https://github.com/apache/tvm/pull/12545#discussion_r967564191
##########
python/tvm/autotvm/task/space.py:
##########
@@ -664,14 +668,18 @@ def __init__(self):
# private dict to provide sugar
self.space_map = OrderedDict() # name -> space
self._collect = True
- self._length = None
+ self._total_length = None
+ self._filtered_length = None
+ self._dims = None
self._entity_map = OrderedDict() # name -> entity
self._constraints = []
self.errors = []
self.code_hash = None
self.flop = 0
self.cost = None
self.is_fallback = False
+ self._shared_filter = None
+ self._shared_filter_cash = None
Review Comment:
Good point. I fixed it and added a test. You can check it after I reupdate
this 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]