roger-zhao opened a new pull request #7175: URL: https://github.com/apache/tvm/pull/7175
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" . :) https://github.com/apache/tvm/issues/7155#issue-773379193 @comaniac ---------------------------------------------------------------- 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]
