tf.contrib.distributions.Bernoulli.log_prob()

tf.contrib.distributions.Bernoulli.log_prob(value, name='log_prob') Log probability density/mass function (depending on is_continuous). 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.

tf.contrib.distributions.Bernoulli.log_pmf()

tf.contrib.distributions.Bernoulli.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.Bernoulli.log_pdf()

tf.contrib.distributions.Bernoulli.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.Bernoulli.log_cdf()

tf.contrib.distributions.Bernoulli.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.Bernoulli.logits

tf.contrib.distributions.Bernoulli.logits

tf.contrib.distributions.Bernoulli.is_reparameterized

tf.contrib.distributions.Bernoulli.is_reparameterized

tf.contrib.distributions.Bernoulli.is_continuous

tf.contrib.distributions.Bernoulli.is_continuous

tf.contrib.distributions.Bernoulli.get_event_shape()

tf.contrib.distributions.Bernoulli.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.Bernoulli.get_batch_shape()

tf.contrib.distributions.Bernoulli.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.Bernoulli.event_shape()

tf.contrib.distributions.Bernoulli.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.