jcf94 commented on a change in pull request #7156:
URL: https://github.com/apache/tvm/pull/7156#discussion_r548965297
##########
File path: python/tvm/auto_scheduler/search_task.py
##########
@@ -220,8 +228,21 @@ def __init__(
if isinstance(target_host, str):
target_host = Target(target_host)
+ if layout_rewrite_option is None:
+ layout_rewrite_option = LayoutRewriteOption.NO_REWRITE
Review comment:
I moved this function to LayoutRewriteOption.get_targer_default.
----------------------------------------------------------------
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]