How to print CachedFunc and Schedule of an Operator in C++ inside TVM backend code?

Hi All,

I know the python interface to TVM provides a “lower” function. However, (for a reason) I need to print the schedule and cachedfunction inside backed of TVM code which is C++.

Specifcally, I’d like to schedule and cached function inside

In the, there is a schedule and cfunc (whci is CachedFunc) in line 159. I’d like to print them for a certain operators.

Any suggestions?