aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar Yutaka Leon <yleon@google.com>2017-05-04 15:09:27 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-04 16:32:35 -0700
commit7ff483746404a3ca7ed66ae4271b21bcb07082ee (patch)
treeb6b83d1a04efc4f67824ba542f94f394703ec9fa /tensorflow
parent4c992d9d6d45cc2e23f20ee728880fc236901dd4 (diff)
Fix documentation in supervisor.
Change: 155140112
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/docs_src/programmers_guide/supervisor.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/docs_src/programmers_guide/supervisor.md b/tensorflow/docs_src/programmers_guide/supervisor.md
index 82ed1c2cf7..55a090df58 100644
--- a/tensorflow/docs_src/programmers_guide/supervisor.md
+++ b/tensorflow/docs_src/programmers_guide/supervisor.md
@@ -362,8 +362,8 @@ following keyword arguments to the `Supervisor()` constructor:
If not specified, the supervisor uses the first op in the
`tf.GraphKeys.LOCAL_INIT_OP` collection. If the collection is empty the
supervisor adds an op to initialize all the tables and local variables in
- the graph by calling `tf.initialize_all_tables()` and
- `tf.initialize_all_local_variables()`.
+ the graph by calling `tf.tables_initializer()` and
+ `tf.local_variables_initializer()`.
Pass `None` to not use a local init op.