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/12/22 04:02:39 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #7145: [AutoScheduler][Bugfix] Hardware params is not serialized properly

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