Commit 37080f54 authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by TensorFlower Gardener
Browse files

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
parent 14f0af7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment