hello,gays. 
I read the tvm pass code, but i so confuse, the SimplifyInferencePass use the 
{MixedModeMutator} to rewrite graph expr{node}, and return a expr.
The {FunctionPassNode::operator()} loop the graph node , do pass for every node 
of graph. and restore the id:new_expr to update graph.
this pass{SimplifyInference}, add new nodes to graph and dependents input to 
connect to old graph but only return one expr. The {FunctionPassNode} only 
update one node to graph. So this Pass{SimplifyInference} maybe not update all 
node to IRModule. 
Please help me to explain. Did I get it wrong?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/why-simplifyinference-use-createfunctionpass-to-create-pass/12979/1)
 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/bf6ddc8b92ff73352d7fba72c17cf6e0f8c80af59cfb69d8e2c2603867179f83).

Reply via email to