[Apache TVM Discuss] [Questions] [autoscheduler] Print tuned Python schedule

2021-03-30 Thread Cody H. Yu via Apache TVM Discuss
Did you try the API mentioned in this tutorial? Specifically, it uses `print(task.print_best(log_file))`. The API you used is for getting the schedule for compilation, not for printing. https://tvm.apache.org/docs/tutorials/auto_scheduler/tune_matmul_x86.html#using-the-record-file --- [Vi

[Apache TVM Discuss] [Questions] [autoscheduler] Print tuned Python schedule

2021-03-30 Thread Wheest via Apache TVM Discuss
The documentation lists that as a method of `tvm.auto_scheduler.ComputeDAG` we can get a Python code representation of the schedule with [`print_python_code_from_state()`](https://tvm.apache.org/docs/api/python/auto_scheduler.html?highlight=auto_scheduler#tvm.auto_scheduler.ComputeDAG.print_pyt