Hi everyone, I've been working for a couple of months on the TVM stack and I 
really like it :slight_smile:
 
I have a question related to the use of TVM 0.7 APIs, in particular 
`tvm.tir.transform.Simplify`. 

In TVM 0.6 I could simply call `tvm.tir.ir_pass.Simplify(stmt)` in any of my 
custom IR passes to leverage the benefits of simplified arithmetics. I would 
then be able to apply further optimizations on top of the simplified IR.
I read the documentation 
([here](https://tvm.apache.org/docs/api/python/tir.html?highlight=simplify#tvm.tir.transform.Simplify))
 and I've tried several ways to obtain the same result in TVM 0.7 but I have 
not found a way to leverage `tvm.tir.transform.Simplify`. I think I might be 
missing something. 

What is the correct way to use this API? Could you show me an example in which 
you pass a `tir.PrimFunc` or a `stmt` object to the new API?  

Thank you!





---
[Visit 
Topic](https://discuss.tvm.ai/t/how-to-leverage-tvm-tir-transform-in-tvm-0-7/7780/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/1fa01e8e872825b8bc77d4f51bc5fcc213efcf1cfb00ad9e645090327c6ac878).

Reply via email to