Can auto scheduler support pure c++ calls?

I converted my calculation graph into Relay IRModule on the C++ side. I would like to ask, can I directly call Ansor in C++ to fine-tune this IRModule? After reading the source code of Ansor briefly, I found that half of the logic is implemented on the Python side. If I want to call Ansor on the C++ side, do I need to implement the Python code in C++ one by one? Looking forward to the response from the community, thank you.

Most of the logic of AutoScheduler is implemented in C++, except for Builder/Runner.

Okay, I will try, thanks.