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.learn.monitors.SummarySaver.step_begin()

tf.contrib.learn.monitors.SummarySaver.step_begin(step) Overrides BaseMonitor.step_begin. When overriding this method, you must call the super implementation. Args: step: int, the current value of the global step. Returns: A list, the result of every_n_step_begin, if that was called this step, or an empty list otherwise. Raises: ValueError: if called more than once during a step.

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.Multinomial.log_pdf()

tf.contrib.distributions.Multinomial.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.survival_function()

tf.contrib.distributions.Bernoulli.survival_function(value, name='survival_function') Survival function. Given random variable X, the survival function is defined: survival_function(x) = P[X > x] = 1 - P[X <= x] = 1 - cdf(x). Args: value: float or double Tensor. name: The name to give this op. Returns: Tensorof shapesample_shape(x) + self.batch_shapewith values of typeself.dtype`.

tf.contrib.distributions.NormalWithSoftplusSigma.log_prob()

tf.contrib.distributions.NormalWithSoftplusSigma.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.MultivariateNormalDiag.log_survival_function()

tf.contrib.distributions.MultivariateNormalDiag.log_survival_function(value, name='log_survival_function') Log survival function. Given random variable X, the survival function is defined: log_survival_function(x) = Log[ P[X > x] ] = Log[ 1 - P[X <= x] ] = Log[ 1 - cdf(x) ] Typically, different numerical approximations can be used for the log survival function, which are more accurate than 1 - cdf(x) when x >> 1. Args: value: floa

tf.contrib.distributions.BernoulliWithSigmoidP.mode()

tf.contrib.distributions.BernoulliWithSigmoidP.mode(name='mode') Mode. Additional documentation from Bernoulli: Returns 1 if p > 1-p and 0 otherwise.

tf.contrib.bayesflow.stochastic_tensor.MixtureTensor.mean()

tf.contrib.bayesflow.stochastic_tensor.MixtureTensor.mean(name='mean')

tf.contrib.distributions.TransformedDistribution.log_pmf()

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