tf.contrib.distributions.BernoulliWithSigmoidP.log_cdf()

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

tf.contrib.distributions.Chi2.param_static_shapes()

tf.contrib.distributions.Chi2.param_static_shapes(cls, sample_shape) param_shapes with static (i.e. TensorShape) shapes. Args: sample_shape: TensorShape or python list/tuple. Desired shape of a call to sample(). Returns: dict of parameter name to TensorShape. Raises: ValueError: if sample_shape is a TensorShape and is not fully defined.

tf.contrib.bayesflow.variational_inference.ELBOForms

class tf.contrib.bayesflow.variational_inference.ELBOForms Constants to control the elbo calculation. analytic_kl uses the analytic KL divergence between the variational distribution(s) and the prior(s). analytic_entropy uses the analytic entropy of the variational distribution(s). sample uses the sample KL or the sample entropy is the joint is provided. See elbo for what is used with default.

tf.contrib.bayesflow.stochastic_tensor.ExponentialWithSoftplusLamTensor.distribution

tf.contrib.bayesflow.stochastic_tensor.ExponentialWithSoftplusLamTensor.distribution

tf.contrib.distributions.Bernoulli.mean()

tf.contrib.distributions.Bernoulli.mean(name='mean') Mean.

tensorflow::Tensor::dims()

int tensorflow::Tensor::dims() const Convenience accessor for the tensor shape. For all shape accessors, see comments for relevant methods of TensorShape in tensor_shape.h.

tf.contrib.learn.monitors.BaseMonitor.step_begin()

tf.contrib.learn.monitors.BaseMonitor.step_begin(step) Callback before training step begins. You may use this callback to request evaluation of additional tensors in the graph. Args: step: int, the current value of the global step. Returns: List of Tensor objects or string tensor names to be run. Raises: ValueError: if we've already begun a step, or step < 0, or step > max_steps.

tf.contrib.bayesflow.stochastic_tensor.LaplaceWithSoftplusScaleTensor

class tf.contrib.bayesflow.stochastic_tensor.LaplaceWithSoftplusScaleTensor LaplaceWithSoftplusScaleTensor is a StochasticTensor backed by the distribution LaplaceWithSoftplusScale.

tf.contrib.distributions.Binomial.sample()

tf.contrib.distributions.Binomial.sample(sample_shape=(), seed=None, name='sample') Generate samples of the specified shape. Note that a call to sample() without arguments will generate a single sample. Args: sample_shape: 0D or 1D int32 Tensor. Shape of the generated samples. seed: Python integer seed for RNG name: name to give to the op. Returns: samples: a Tensor with prepended dimensions sample_shape.

tf.contrib.learn.monitors.StepCounter.epoch_end()

tf.contrib.learn.monitors.StepCounter.epoch_end(epoch) End epoch. Args: epoch: int, the epoch number. Raises: ValueError: if we've not begun an epoch, or epoch number does not match.