Hi,
I’ve been looking at types of Relay pass recently and got a bit confused when it comes to MixedModeMutator
and when it should be used over ExprRewriter
. The RFC (Performing Relay Passes Non-Recursively) seems to me to suggest that ExprRewriter
should be used when wanting to mutate a graph non-recursively, yet I can see many uses of MixedModeMutator
in the codebase for seemingly a similar reason. Therefore, I’m wondering if/what the difference is between MixedModeMutator
and ExprRewriter
, and when one should be used over the other?