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
Loading
Please sign in to comment