def _finish_prob_for_one_fiber(self, y, x, ildj, event_ndims,<EOL>**distribution_kwargs):
x = self._maybe_rotate_dims(x, rotate_right=True)<EOL>prob = self.distribution.prob(x, **distribution_kwargs)<EOL>if self._is_maybe_event_override:<EOL><INDENT>prob = tf.reduce_prod(input_tensor=prob, axis=self._reduce_event_indices)<EOL><DEDENT>prob *= tf.exp(tf.cast(ildj, prob.dtype))<EOL>if self._is_maybe_event_override and isinstance(event_ndims, int):<EOL><INDENT>tensorshape_util.set_shape(<EOL>prob,<EOL>tf.broadcast_static_shape(<EOL>tensorshape_util.with_rank_at_least(y.shape, <NUM_LIT:1>)[:-event_ndims],<EOL>self.batch_shape))<EOL><DEDENT>return prob<EOL>
Finish computation of prob on one element of the inverse image.