tf.contrib.distributions.TransformedDistribution.log_prob(value, name='log_prob')
Log probability density/mass function (depending on is_continuous
).
Additional documentation from TransformedDistribution
:
Implements (log o p o g)(y) - (log o det o J o g)(y)
, where g
is the inverse of transform
.
Also raises a ValueError
if inverse
was not provided to the distribution and y
was not returned from sample
.
Args:
-
value
:float
ordouble
Tensor
. -
name
: The name to give this op.
Returns:
-
log_prob
: aTensor
of shapesample_shape(x) + self.batch_shape
with values of typeself.dtype
.
Please login to continue.