If you want to just simplify a single expression/stmt you can use the internal
API to do so.
Here is how simplify pass is defined:
```
Pass Simplify() {
auto pass_func = [](PrimFunc f, IRModule m, PassContext ctx) {
auto* n = f.CopyOnWrite();
arith::Analyzer analyzer;
n->body = a
We have moved to having all passes use the pass infrastructure now, you should
be able to just invoke Simplify on your entire IRModule before running your
pass. i.e `Simplify()(mod)`.
---
[Visit
Topic](https://discuss.tvm.ai/t/how-to-leverage-tvm-tir-transform-in-tvm-0-7/7780/2)
to respo
You can write a small pass in Python to partition the program in the way that
you would like. For example this below pass splits the inputs, and then adds,
and concatenates them. You can employ a similar technique to do the
partitioning that you want.
https://gist.github.com/jroesch/a110f8ea
Hi there, on top of answering Haichen's questions can you share your example
programs that you used to generate this data? we actively improving and working
on VM to close the parity gap with the graph runtime.
---
[Visit
Topic](https://discuss.tvm.ai/t/vm-the-performance-degradation-of-v