MCPcopy Create free account
hub / github.com/ReinFlow/ReinFlow / discretize

Method discretize

model/diffusion/sde_lib.py:116–133  ·  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

(self, x, t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

sdeMethod · 0.95

Tested by

no test coverage detected