From 7ff483746404a3ca7ed66ae4271b21bcb07082ee Mon Sep 17 00:00:00 2001 From: Yutaka Leon <yleon@google.com> Date: Thu, 4 May 2017 15:09:27 -0800 Subject: [PATCH] Fix documentation in supervisor. Change: 155140112 --- tensorflow/docs_src/programmers_guide/supervisor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/docs_src/programmers_guide/supervisor.md b/tensorflow/docs_src/programmers_guide/supervisor.md index 82ed1c2cf76..55a090df589 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.