aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/template.py')
-rw-r--r--tensorflow/python/ops/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/ops/template.py b/tensorflow/python/ops/template.py
index 09955e690c..e600478b42 100644
--- a/tensorflow/python/ops/template.py
+++ b/tensorflow/python/ops/template.py
@@ -44,7 +44,7 @@ def make_template(name_, func_, create_scope_now_=False, unique_name_=None,
that are intended to be locals can be created by specifying
`tf.Variable(..., trainable=false)`.
* The function may use variable scopes and other templates internally to
- create and reuse variables, but it shouldn't use `tf.all_variables` to
+ create and reuse variables, but it shouldn't use `tf.global_variables` to
capture variables that are defined outside of the scope of the function.
* Internal scopes and variable names should not depend on any arguments that
are not supplied to `make_template`. In general you will get a ValueError