tf.contrib.distributions.Dirichlet.log_prob()

tf.contrib.distributions.Dirichlet.log_prob(value, name='log_prob') Log probability density/mass function (depending on is_continuous). Additional documentation from Dirichlet: Note that the input must be a non-negative tensor with dtype dtype and whose shape can be broadcast with self.alpha. For fixed leading dimensions, the last dimension represents counts for the corresponding Dirichlet distribution in self.alpha. x is only legal if it sums up to one. Args: value: float or double Tensor.

tf.contrib.distributions.Dirichlet.log_pmf()

tf.contrib.distributions.Dirichlet.log_pmf(value, name='log_pmf') Log probability mass function. Args: value: float or double Tensor. name: The name to give this op. Returns: log_pmf: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype. Raises: TypeError: if is_continuous.

tf.contrib.distributions.Dirichlet.log_pdf()

tf.contrib.distributions.Dirichlet.log_pdf(value, name='log_pdf') Log probability density function. 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. Raises: TypeError: if not is_continuous.

tf.contrib.distributions.Dirichlet.log_cdf()

tf.contrib.distributions.Dirichlet.log_cdf(value, name='log_cdf') Log cumulative distribution function. Given random variable X, the cumulative distribution function cdf is: log_cdf(x) := Log[ P[X <= x] ] Often, a numerical approximation can be used for log_cdf(x) that yields a more accurate answer than simply taking the logarithm of the cdf when x << -1. Args: value: float or double Tensor. name: The name to give this op. Returns: logcdf: a Tensor of shape sample_shape(x) + sel

tf.contrib.distributions.Dirichlet.is_reparameterized

tf.contrib.distributions.Dirichlet.is_reparameterized

tf.contrib.distributions.Dirichlet.is_continuous

tf.contrib.distributions.Dirichlet.is_continuous

tf.contrib.distributions.Dirichlet.get_event_shape()

tf.contrib.distributions.Dirichlet.get_event_shape() Shape of a single sample from a single batch as a TensorShape. Same meaning as event_shape. May be only partially defined. Returns: event_shape: TensorShape, possibly unknown.

tf.contrib.distributions.Dirichlet.get_batch_shape()

tf.contrib.distributions.Dirichlet.get_batch_shape() Shape of a single sample from a single event index as a TensorShape. Same meaning as batch_shape. May be only partially defined. Returns: batch_shape: TensorShape, possibly unknown.

tf.contrib.distributions.Dirichlet.event_shape()

tf.contrib.distributions.Dirichlet.event_shape(name='event_shape') Shape of a single sample from a single batch as a 1-D int32 Tensor. Args: name: name to give to the op Returns: event_shape: Tensor.

tf.contrib.distributions.Dirichlet.entropy()

tf.contrib.distributions.Dirichlet.entropy(name='entropy') Shanon entropy in nats.