tf.contrib.bayesflow.monte_carlo.expectation_importance_sampler()

tf.contrib.bayesflow.monte_carlo.expectation_importance_sampler(f, log_p, sampling_dist_q, z=None, n=None, seed=None, name='expectation_importance_sampler') Monte Carlo estimate of E_p[f(Z)] = E_q[f(Z) p(Z) / q(Z)]. With p(z) := exp{log_p(z)}, this Op returns n^{-1} sum_{i=1}^n [ f(z_i) p(z_i) / q(z_i) ], z_i ~ q, \approx E_q[ f(Z) p(Z) / q(Z) ] = E_p[f(Z)] This integral is done in log-space with max-subtraction to better handle the often extreme values that f(z) p(z) / q(z) can take o

tf.contrib.distributions.Beta.a_b_sum

tf.contrib.distributions.Beta.a_b_sum Sum of parameters.

tf.contrib.distributions.MultivariateNormalCholesky.variance()

tf.contrib.distributions.MultivariateNormalCholesky.variance(name='variance') Variance.

tf.contrib.bayesflow.stochastic_tensor.QuantizedDistributionTensor.input_dict

tf.contrib.bayesflow.stochastic_tensor.QuantizedDistributionTensor.input_dict

tf.contrib.distributions.StudentT.param_shapes()

tf.contrib.distributions.StudentT.param_shapes(cls, sample_shape, name='DistributionParamShapes') Shapes of parameters given the desired shape of a call to sample(). Subclasses should override static method _param_shapes. Args: sample_shape: Tensor or python list/tuple. Desired shape of a call to sample(). name: name to prepend ops with. Returns: dict of parameter name to Tensor shapes.

tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.beta

tf.contrib.distributions.InverseGammaWithSoftplusAlphaBeta.beta Scale parameter.

tf.contrib.learn.monitors.NanLoss.every_n_step_begin()

tf.contrib.learn.monitors.NanLoss.every_n_step_begin(step)

tf.contrib.bayesflow.stochastic_tensor.DirichletMultinomialTensor.dtype

tf.contrib.bayesflow.stochastic_tensor.DirichletMultinomialTensor.dtype

tf.contrib.distributions.Distribution.std()

tf.contrib.distributions.Distribution.std(name='std') Standard deviation.

tf.contrib.learn.LinearRegressor.get_variable_names()

tf.contrib.learn.LinearRegressor.get_variable_names() Returns list of all variable names in this model. Returns: List of names.