vae.ops.gaussian_log_likelihood

vae.ops.gaussian_log_likelihood(x, mean=0.0, variance=1.0, axis=-1, name=None)

Compute the log-likelihood for independent Gaussian variables

Parameters:
x : tf.Tensor

Gaussian observations.

mean : tf.Tensor, optional (default=0.0)

Mean of the Gaussian variables.

variance : tf.Tensor, optional (default=1.0)

Variance of the Gaussian variables.

axis : int, optional (default=-1)

Dimension containing the Gaussian variables.

name : str or None, optional (default=None)

Name of the operation. Defaults to ‘GaussianLogLikelihood’.

Returns:
log_likelihood : tf.Tensor