aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-09-27 00:31:05 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-27 00:41:12 -0700
commitc85998ba9ca005774d81f0f15ee8055f19c6a888 (patch)
tree74a434f27fbfe47a949d4016d34b203b33a57f10 /tensorflow/python/training
parent08a6cfed1cf0cccc8ff35448266f44fbc55be0bc (diff)
Fix documentation of ready_for_local_init_op in tf.Supervisor, which mentions incorrect default value.
PiperOrigin-RevId: 214731772
Diffstat (limited to 'tensorflow/python/training')
-rw-r--r--tensorflow/python/training/supervisor.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tensorflow/python/training/supervisor.py b/tensorflow/python/training/supervisor.py
index 0755364bbe..a5e626d320 100644
--- a/tensorflow/python/training/supervisor.py
+++ b/tensorflow/python/training/supervisor.py
@@ -242,10 +242,9 @@ class Supervisor(object):
ready_for_local_init_op: 1-D string `Tensor`. This tensor is evaluated by
supervisors in `prepare_or_wait_for_session()` to check if the model is
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.global_variables())`. If `None`,
- the model is not checked for readiness before running local_init_op.
+ The model is considered ready if it returns an empty array. Defaults to
+ `None`. 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
on a chief supervisor for inits and restore.