diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-09-27 00:31:05 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-27 00:41:12 -0700 |
commit | c85998ba9ca005774d81f0f15ee8055f19c6a888 (patch) | |
tree | 74a434f27fbfe47a949d4016d34b203b33a57f10 /tensorflow/python/training | |
parent | 08a6cfed1cf0cccc8ff35448266f44fbc55be0bc (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.py | 7 |
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. |