Yes, you can access topi operators for almost all directly from python
but, I doubt you are asking about transpose (some pre processing) while deployment from c++ ?
For CPP I don’t think we have a TVM runtime API to transpose now. As an other option you may alter the graph before frontend import to add necessary pre processing and then compile.