aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/distributions/bijector_impl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/distributions/bijector_impl.py')
-rw-r--r--tensorflow/python/ops/distributions/bijector_impl.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/python/ops/distributions/bijector_impl.py b/tensorflow/python/ops/distributions/bijector_impl.py
index b65e64d401..2e7aa30296 100644
--- a/tensorflow/python/ops/distributions/bijector_impl.py
+++ b/tensorflow/python/ops/distributions/bijector_impl.py
@@ -1011,12 +1011,6 @@ class Bijector(object):
def _reduce_jacobian_det_over_event(
self, y, ildj, min_event_ndims, event_ndims):
"""Reduce jacobian over event_ndims - min_event_ndims."""
-
- if not self.is_constant_jacobian:
- return math_ops.reduce_sum(
- ildj,
- self._get_event_reduce_dims(min_event_ndims, event_ndims))
-
# In this case, we need to tile the Jacobian over the event and reduce.
y_rank = array_ops.rank(y)
y_shape = array_ops.shape(y)[