diff options
Diffstat (limited to 'tensorflow/python/platform/tf_logging.py')
-rw-r--r-- | tensorflow/python/platform/tf_logging.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/python/platform/tf_logging.py b/tensorflow/python/platform/tf_logging.py index 70ecda1dda..335fd110e7 100644 --- a/tensorflow/python/platform/tf_logging.py +++ b/tensorflow/python/platform/tf_logging.py @@ -37,6 +37,7 @@ from tensorflow.python.util.all_util import remove_undocumented # Determine whether we are in an interactive environment +_interactive = False try: # This is only defined in interactive shells if _sys.ps1: _interactive = True |