aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py')
-rw-r--r--tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py b/tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py
index ee3719232d..fdc12e3b21 100644
--- a/tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py
+++ b/tensorflow/contrib/bayesflow/python/ops/custom_grad_impl.py
@@ -43,7 +43,7 @@ def custom_gradient(fx, gx, x, axis=(),
h(x) = x * stop_gradient(g(x)) + stop_gradient(f(x) - x * g(x))
```
- is such that `h(x) = stop(f(x))` and `grad[h(x), x] = stop_gradient(g(x)).`
+ is such that `h(x) = stop_gradient(f(x))` and `grad[h(x), x] = stop_gradient(g(x)).`
In addition to scalar-domain/scalar-range functions, this function also
supports tensor-domain/scalar-range functions. However, in the latter case it