|
28 | 28 | from . import task_scheduler |
29 | 29 |
|
30 | 30 | # Shortcut |
31 | | -from .compute_dag import ComputeDAG |
| 31 | +from .compute_dag import ComputeDAG, LayoutRewriteLevel, gen_schedule |
32 | 32 | from .auto_schedule import SearchTask, MetaTileRewritePolicy, TuneOption, HardwareParams, \ |
33 | 33 | PreLoadMeasuredStates, PreAddCustomRule |
34 | 34 | from .auto_schedule import auto_schedule |
35 | 35 | from .measure import MeasureInput, LocalBuilder, LocalRunner, RPCRunner, LocalRPCMeasureContext |
36 | 36 | from .cost_model import RandomModel |
37 | 37 | from .cost_model.xgb_model import XGBModel |
38 | | -from .serialization import LogToFile, LogReader, best_measure_pair_in_file, write_measure_records_to_file |
| 38 | +from .serialization import LogToFile, LogReader, best_measure_pair_in_file, \ |
| 39 | + load_from_file, write_measure_records_to_file |
39 | 40 | from .workload_registry import register_auto_scheduler_workload_func, \ |
40 | 41 | workload_key_to_dag, make_workload_key_func |
41 | 42 | from .task_scheduler import TaskScheduler, SimpleTaskScheduler |
| 43 | +from .dispatcher import DispatchContext, ApplyConfig, ApplyHistoryBest as apply_history_best, \ |
| 44 | + FallbackContext, clear_fallback_cache, ApplyGraphBest, BlockingEmptyContext |
| 45 | +from .topi_integration import register_topi_schedule, TaskExtractEnv |
| 46 | +from .relay_integration import extract_from_program, extract_from_multiple_program, \ |
| 47 | + finish_layout_rewrite |
0 commit comments