diff options
Diffstat (limited to 'tensorflow/python/ops/variable_scope.py')
-rw-r--r-- | tensorflow/python/ops/variable_scope.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/ops/variable_scope.py b/tensorflow/python/ops/variable_scope.py index 5897f94f9d..ddba73f7e9 100644 --- a/tensorflow/python/ops/variable_scope.py +++ b/tensorflow/python/ops/variable_scope.py @@ -998,7 +998,7 @@ for an extensive description of how reusing works. Here is a basic example: with tf.variable_scope("foo"): v = tf.get_variable("v", [1]) # v.name == "foo/v:0" w = tf.get_variable("w", [1]) # w.name == "foo/w:0" -with tf.variable_scope("foo", reuse=True) +with tf.variable_scope("foo", reuse=True): v1 = tf.get_variable("v") # The same as v above. ``` |