If I understand your question, you want the two adds to fuse into one add. 
To do this, I would try using the FuseOps pass after FoldConstant and 
FoldScaleAxis.
(Without seeing more of the program, I can't tell what your two adds are adding 
-- can you post an excerpt of the relay program here as well?)





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/foldconstant-doesnt-fold-two-consecutive-add/8132/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/ff5d54a0b1d70e7c730be7dea3351f0f8195cbdaa012aaf54a9a8990f0496094).

Reply via email to