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

Method discretize

score_sde/sde_lib.py:60–77  ·  view source on GitHub ↗

Discretize the SDE in the form: x_{i+1} = x_i + f_i(x_i) + G_i z_i. Useful for reverse diffusion sampling and probabiliy flow sampling. Defaults to Euler-Maruyama discretization. Args: x: a torch tensor t: a torch float representing the time step (from 0 to `self.T`) R

(self, x, t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

update_fnMethod · 0.45

Calls 1

sdeMethod · 0.95

Tested by

no test coverage detected