diff options
Diffstat (limited to 'tensorflow/python/training/monitored_session.py')
-rw-r--r-- | tensorflow/python/training/monitored_session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/training/monitored_session.py b/tensorflow/python/training/monitored_session.py index 245891c95e..9f71395c96 100644 --- a/tensorflow/python/training/monitored_session.py +++ b/tensorflow/python/training/monitored_session.py @@ -535,7 +535,7 @@ class _MonitoredSession(object): # __exit__ should return True to suppress an exception. return exception_type is None - class _CoordinatedSessionCreator(object): + class _CoordinatedSessionCreator(SessionCreator): """Factory for the _RecoverableSession.""" def __init__(self, session_creator, hooks, stop_grace_period_secs): @@ -575,7 +575,7 @@ class _MonitoredSession(object): ops.get_default_graph()._unsafe_unfinalize() # pylint: disable=protected-access def _is_closed(self): - """Return True if the supervised session is closed. For tests only. + """Return True if the monitored session is closed. For tests only. Returns: A boolean. |