Improve side_effect_guards to (1) avoid aliasing non-tensors and (2) combine...
Improve side_effect_guards to (1) avoid aliasing non-tensors and (2) combine aliasing with re-indenting. Move the renaming visitor into a generic utility API. This loses potential efficiency by risking sequencing ops where there is no risk of a race. On the other hand it's still not entirely robust, and we need to raise an error where we can't guarantee that. PiperOrigin-RevId: 184717456
Loading
Please sign in to comment