You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here, when _length is None, then initiate it to current search space length, it's almost good most of times, however if user/developer get len of search space when space is empty, then a unreasonable _length 1 will be produced( the result of empty list for np.prod is 1), so it's better for adding an extra condition such as " len(self.space_map.values()) != 0" . :)
The text was updated successfully, but these errors were encountered:
tvm/python/tvm/autotvm/task/space.py
Line 839 in 08a69d4
here, when _length is None, then initiate it to current search space length, it's almost good most of times, however if user/developer get len of search space when space is empty, then a unreasonable _length 1 will be produced( the result of empty list for np.prod is 1), so it's better for adding an extra condition such as " len(self.space_map.values()) != 0" . :)
The text was updated successfully, but these errors were encountered: