0bd153620044ed73600c4e245659671e0d985e90,python/tvm/auto_scheduler/search_task.py,SearchTask,__init__,#SearchTask#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,377
Before Change
compute_dag = ComputeDAG(workload_key)
assert target is not None, "Must specify a target."
if isinstance(target, str):
target = Target(target)
if isinstance(target_host, str):
target_host = Target(target_host)
if layout_rewrite_option is None:
After Change
assert target is not None, "Must specify a target."
target, target_host = Target.check_and_update_host_consist(target, target_host)
if layout_rewrite_option is None:
layout_rewrite_option = LayoutRewriteOption.get_target_default(target)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: apache/incubator-tvm
Commit Name: 0bd153620044ed73600c4e245659671e0d985e90
Time: 2021-03-31
Author: xiyou@octoml.ai
File Name: python/tvm/auto_scheduler/search_task.py
Class Name: SearchTask
Method Name: __init__
Project Name: apache/incubator-tvm
Commit Name: 0bd153620044ed73600c4e245659671e0d985e90
Time: 2021-03-31
Author: xiyou@octoml.ai
File Name: python/tvm/auto_scheduler/relay_integration.py
Class Name:
Method Name: extract_tasks
Project Name: apache/incubator-tvm
Commit Name: 0bd153620044ed73600c4e245659671e0d985e90
Time: 2021-03-31
Author: xiyou@octoml.ai
File Name: python/tvm/relay/backend/_backend.py
Class Name:
Method Name: build