FoldConstant doesn't fold two consecutive add

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?)