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:
[email protected]


Reply via email to