MCPcopy Create free account
hub / github.com/NVlabs/DiffPure / q_mean_variance

Method q_mean_variance

guided_diffusion/gaussian_diffusion.py:179–194  ·  view source on GitHub ↗

Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of diffusion steps (minus 1). Here, 0 means one step. :return: A tuple (mean, variance, log_variance), all of x_start's shape.

(self, x_start, t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_prior_bpdMethod · 0.95

Calls 1

_extract_into_tensorFunction · 0.70

Tested by

no test coverage detected