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 2020/09/16 02:40:58 UTC

[GitHub] [incubator-tvm] merrymercy commented on a change in pull request #6488: [TUTORIAL][ANSOR] Using the template-free auto-scheduler on CPU

merrymercy commented on a change in pull request #6488:
URL: https://github.com/apache/incubator-tvm/pull/6488#discussion_r489127250



##########
File path: python/tvm/auto_scheduler/auto_schedule.py
##########
@@ -156,16 +159,41 @@ def __init__(
         )
 
 
+def create_task(func, args, target, target_host=None, hardware_params=None):

Review comment:
       Python does not support constructor overloading, so I have to create a new function for this.
   
   I think both `auto_scheduler.create_task` and `auto_scheduler.task.create` are okay.




----------------------------------------------------------------
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:
users@infra.apache.org