tf.contrib.bayesflow.stochastic_tensor.BernoulliTensor

class tf.contrib.bayesflow.stochastic_tensor.BernoulliTensor BernoulliTensor is a StochasticTensor backed by the distribution Bernoulli.

tf.contrib.distributions.WishartFull.get_batch_shape()

tf.contrib.distributions.WishartFull.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.StudentT.param_static_shapes()

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

tf.contrib.distributions.NormalWithSoftplusSigma.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.Distribution.sample_n()

tf.contrib.distributions.Distribution.sample_n(n, seed=None, name='sample_n') Generate n samples. Args: n: Scalar Tensor of type int32 or int64, the number of observations to sample. seed: Python integer seed for RNG name: name to give to the op. Returns: samples: a Tensor with a prepended dimension (n,). Raises: TypeError: if n is not an integer type.

tf.contrib.graph_editor.filter_ts()

tf.contrib.graph_editor.filter_ts(ops, positive_filter) Get all the tensors which are input or output of an op in ops. Args: ops: an object convertible to a list of tf.Operation. positive_filter: a function deciding whether to keep a tensor or not. If True, all the tensors are returned. Returns: A list of tf.Tensor. Raises: TypeError: if ops cannot be converted to a list of tf.Operation.

tf.contrib.distributions.Exponential.allow_nan_stats

tf.contrib.distributions.Exponential.allow_nan_stats Python boolean describing behavior when a stat is undefined. Stats return +/- infinity when it makes sense. E.g., the variance of a Cauchy distribution is infinity. However, sometimes the statistic is undefined, e.g., if a distribution's pdf does not achieve a maximum within the support of the distribution, the mode is undefined. If the mean is undefined, then by definition the variance is undefined. E.g. the mean for Student's T for df = 1

tf.contrib.distributions.Gamma.log_survival_function()

tf.contrib.distributions.Gamma.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: float or double Tenso

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.prob()

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.prob(value, name='prob') Probability density/mass function (depending on is_continuous). Additional documentation from _MultivariateNormalOperatorPD: x is a batch vector with compatible shape if x is a Tensor whose shape can be broadcast up to either: self.batch_shape + self.event_shape or [M1,...,Mm] + self.batch_shape + self.event_shape Args: value: float or double Tensor. name: The name to give this op. Returns: prob: a

tf.ReaderBase.reader_ref

tf.ReaderBase.reader_ref Op that implements the reader.