aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-08 09:49:59 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-08 09:59:07 -0700
commit87315f41ced19136819cef56ef37636c52c474de (patch)
treeec59603b89328a439146cdf4c3144fee5bbbf060 /tensorflow/python
parentf435e776216c7a86f619a17064fd6e1deee638b3 (diff)
Remove Raises documentation on imperative_grads for ValueErrror not raised.
PiperOrigin-RevId: 216201714
Diffstat (limited to 'tensorflow/python')
-rw-r--r--tensorflow/python/eager/imperative_grad.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/python/eager/imperative_grad.py b/tensorflow/python/eager/imperative_grad.py
index 5f5af4ab6c..5c35860e9d 100644
--- a/tensorflow/python/eager/imperative_grad.py
+++ b/tensorflow/python/eager/imperative_grad.py
@@ -51,11 +51,6 @@ def imperative_grad(
Raises:
RuntimeError: if something goes wrong.
- ValueError: if there is no sequence of differentiable operations connecting
- a source and any target Tensor. This can happen either if the target is
- not computed based on the source, if the tracing was set up incorrectly,
- or if only non-differentiable functions of the source were used in the
- computation of target.
"""
return pywrap_tensorflow.TFE_Py_TapeGradient(
tape._tape, # pylint: disable=protected-access