I think someone just needs to expose this in Python you could probably do so
with
```
TVM_REGISTER_GLOBAL("SimplifyStmt").set_body_typed([](tir::Stmt stmt) {
arith::Analyzer analyzer;
return arith::StmtSimplifier(&analyzer).Simplify(stmt);
});
```
and in Python
```
tvm.get_global_func("SimplifyStmt")(my_stmt)
```
---
[Visit
Topic](https://discuss.tvm.apache.org/t/how-to-leverage-tvm-tir-transform-in-tvm-0-7/7780/5)
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/6ef99406da8237096e7f2633e4d20bd72bbc0f84e5a3d50fac8ee3240a328797).