How to see different IR(Relay/TE/TIR) from my own pytorch model?

I think you wanna to see the intermediate during build stage and what the pass did. Is that ? please refer to Output all pass names and ir