diff options
author | 2017-05-04 15:09:27 -0800 | |
---|---|---|
committer | 2017-05-04 16:32:35 -0700 | |
commit | 7ff483746404a3ca7ed66ae4271b21bcb07082ee (patch) | |
tree | b6b83d1a04efc4f67824ba542f94f394703ec9fa /tensorflow | |
parent | 4c992d9d6d45cc2e23f20ee728880fc236901dd4 (diff) |
Fix documentation in supervisor.
Change: 155140112
Diffstat (limited to 'tensorflow')
-rw-r--r-- | tensorflow/docs_src/programmers_guide/supervisor.md | 4 |
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. |