Append UID to cond_v2 and while_v2 function names.
We currently use the root Graph to generate unique function names, but in unit tests, this can lead to name collisions in the eager context, because the default graph changes but the eager context does not. It also makes use of the secret default graph in eager mode which is undesirable. This change uses uid() calls instead. PiperOrigin-RevId: 217697513
Loading
Please sign in to comment