wpan11nv commented on a change in pull request #4779: [AUTOTVM] Fix a bug in generating the search space URL: https://github.com/apache/incubator-tvm/pull/4779#discussion_r371466338
########## File path: python/tvm/autotvm/task/space.py ########## @@ -226,7 +226,13 @@ def __init__(self, axes, policy, **kwargs): def _generate_space(self, now, tmp_stack, enforce_no_tail=False): """Generate space by DFS""" if now == self.num_output - 1: - prod = np.prod(tmp_stack, dtype=np.int64) + prod = 1 Review comment: Utility function looks like a overkill. A reduce call is fine. Updated. Thanks! ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services