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/12/17 04:54:02 UTC

[GitHub] [tvm] FrozenGene commented on a change in pull request #9756: [MetaSchedule] Add the missing `HasWorkload` interface to the Database

FrozenGene commented on a change in pull request #9756:
URL: https://github.com/apache/tvm/pull/9756#discussion_r771103101



##########
File path: tests/python/unittest/test_meta_schedule_task_scheduler.py
##########
@@ -140,6 +140,9 @@ def __init__(self):
         self.records = []
         self.workload_reg = []
 
+    def has_workload(self, mod: IRModule) -> bool:
+        return False

Review comment:
       Should we query `workload_reg` here instead of `return False` simply?




-- 
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