aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training/supervisor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/training/supervisor.py')
-rw-r--r--tensorflow/python/training/supervisor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/training/supervisor.py b/tensorflow/python/training/supervisor.py
index 5aa27eb222..eb8efd17e2 100644
--- a/tensorflow/python/training/supervisor.py
+++ b/tensorflow/python/training/supervisor.py
@@ -248,7 +248,7 @@ class Supervisor(object):
ready to run the local_init_op.
The model is considered ready if it returns an empty array. Defaults to
the tensor returned from
- `tf.report_uninitialized_variables(tf.all_variables())`. If `None`, the
+ `tf.report_uninitialized_variables(tf.global_variables())`. If `None`, the
model is not checked for readiness before running local_init_op.
is_chief: If True, create a chief supervisor in charge of initializing
and restoring the model. If False, create a supervisor that relies