You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Hecmay via Apache TVM Discuss <no...@discuss.tvm.ai> on 2020/10/01 20:12:46 UTC

[Apache TVM Discuss] [Questions] C++ APIs of Ansor auto-scheduler


Hi, 

I was trying to convert a neural network into tensor expressions, and optimize the performance using Ansor (in C++). 

However, I was not able to find any document or test case to use Ansor in C++ (there is a simple cpp testcase for Ansor ComputeDAG, but it does not describe a complete auto-scheduling flow in C++). Can anyone give me a pointer? How should I call Ansor in C++?





---
[Visit Topic](https://discuss.tvm.apache.org/t/c-apis-of-ansor-auto-scheduler/8063/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/c6300746ae3950a8e1f5d4d9078e4bb872f649ac19814dc7a450386b18d47482).

[Apache TVM Discuss] [Questions] C++ APIs of Ansor auto-scheduler

Posted by Lianmin Zheng via Apache TVM Discuss <no...@discuss.tvm.ai>.

There are no existing examples avaiable. But you can try to build one by translating existing python code to c++ code. The c++ entry point is file https://github.com/apache/tvm/blob/main/src/auto_scheduler/auto_schedule.cc





---
[Visit Topic](https://discuss.tvm.apache.org/t/c-apis-of-ansor-auto-scheduler/8063/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/3aa522e9707dbb247b73c48b684e9bf7c5504e23a01d7b3c5d5e924fd9ee307c).