Commit 0ad0dfef authored by Akshay Agrawal's avatar Akshay Agrawal Committed by TensorFlower Gardener
Browse files

Make init_scope install a new graph when graph stack is empty in graph mode.

Prior to this change, entering an init_scope while in graph mode with an empty
graph stack would enable eager execution, if eager execution had previously
been enabled; this wasn't the desired behavior.

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