comaniac commented on a change in pull request #7145:
URL: https://github.com/apache/tvm/pull/7145#discussion_r547055396



##########
File path: python/tvm/auto_scheduler/search_task.py
##########
@@ -221,10 +221,6 @@ def __init__(
             target_host = Target(target_host)
 
         self.dag = compute_dag

Review comment:
       I don't think we can access the constructed object in this constructor? 
The point is both SearchTask and ConouteDAG have to be reconstructed when 
deserilization, we need to call their C++ constructors in `__setstate__`.




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