Hi @xiaolong18, 

Thanks for playing with Relax! `print(R.parser.astext(relax_mod))` actually 
prints out the whole IRModule, which contains both the Relax functions and TIR 
PrimFuncs. Please search for "@relax.function" in the printed text, you will 
find the Relax IR as below:
 ![Screen Shot 2022-02-23 at 9.05.40 
AM|690x128](upload://qRzP8qn5NApew464cjQBe8lZFsI.png) 

If you just want to see the relax function, you can do 
`print(R.parser.astext(relax_mod["main"]))`.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/whether-the-repo-of-https-github-com-tlc-pack-relax-can-emit-the-relay-ir-level-text/12151/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/4d618b381beec80cca26ceda433be35ee976ff537d5727e4a524872e06e33188).

Reply via email to