tf.contrib.distributions.TransformedDistribution.prob()

tf.contrib.distributions.TransformedDistribution.prob(value, name='prob')

Probability density/mass function (depending on is_continuous).

Additional documentation from TransformedDistribution:

Implements p(g(y)) / det|J(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:
  • prob: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype.
doc_TensorFlow
2016-10-14 13:03:00
Comments
Leave a Comment

Please login to continue.