Commit 1093a54c authored by Priya Gupta's avatar Priya Gupta Committed by TensorFlower Gardener
Browse files

Iterate over a copy of dictionary keys when closing variable subscopes....

Iterate over a copy of dictionary keys when closing variable subscopes. Otherwise, we run into a "dictionary changed size during iteration" once in a while, as we are modifying the values in the dictionary during the iteration.

PiperOrigin-RevId: 191655599
parent bf8ad827
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment