aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py')
-rw-r--r--tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py b/tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py
index 55e0e6d57b..3590f940ac 100644
--- a/tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py
+++ b/tensorflow/contrib/bayesflow/python/ops/monte_carlo_impl.py
@@ -177,7 +177,7 @@ def _logspace_mean(log_values):
`Log[Mean[values]]`.
"""
# center = Max[Log[values]], with stop-gradient
- # The center hopefully keep the exponentiated term small. It is cancelled
+ # The center hopefully keep the exponentiated term small. It is canceled
# from the final result, so putting stop gradient on it will not change the
# final result. We put stop gradient on to eliminate unnecessary computation.
center = array_ops.stop_gradient(_sample_max(log_values))