You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/09/11 02:52:48 UTC
[GitHub] [tvm] comaniac commented on a change in pull request #8984: [AutoScheduler] Fix task scheduler after 8478
comaniac commented on a change in pull request #8984:
URL: https://github.com/apache/tvm/pull/8984#discussion_r706547369
##########
File path: python/tvm/auto_scheduler/task_scheduler.py
##########
@@ -480,7 +480,8 @@ def _tune_task(self, task_idx):
def _compute_score(self, costs):
"""compute the objective function"""
- return self.objective_func(costs)
+ score = self.objective_func(costs)
Review comment:
```suggestion
# Make sure to return float.
score = self.objective_func(costs)
```
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org