tf.contrib.distributions.TransformedDistribution.log_prob()

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 or double Tensor.
  • name: The name to give this op.
Returns:
  • log_prob: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype.
doc_TensorFlow
2016-10-14 13:02:51
Comments
Leave a Comment

Please login to continue.