aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/eager
diff options
context:
space:
mode:
authorGravatar Asim Shankar <ashankar@google.com>2018-09-17 12:32:22 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-17 12:35:52 -0700
commitadae337d05251963ef0905e024dfdc07b6d0aae2 (patch)
tree414aa0ab29bc10946749052bb8115343d9f141f7 /tensorflow/python/eager
parent3fe7b38347eaf7f1fb764cc2ac92de0ce7bc51e5 (diff)
GradientTape: Documentation formatting tweak.
PiperOrigin-RevId: 213318051
Diffstat (limited to 'tensorflow/python/eager')
-rw-r--r--tensorflow/python/eager/backprop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/eager/backprop.py b/tensorflow/python/eager/backprop.py
index be392c7a0f..11336efebb 100644
--- a/tensorflow/python/eager/backprop.py
+++ b/tensorflow/python/eager/backprop.py
@@ -648,8 +648,8 @@ class GradientTape(object):
Operations are recorded if they are executed within this context manager and
at least one of their inputs is being "watched".
- Trainable variables (created by `tf.Variable` or `tf.get_variable`,
- trainable=True is default in both cases) are automatically watched. Tensors
+ Trainable variables (created by `tf.Variable` or `tf.get_variable`, where
+ `trainable=True` is default in both cases) are automatically watched. Tensors
can be manually watched by invoking the `watch` method on this context
manager.