MCPcopy Create free account
hub / github.com/CompVis/diff2flow / __init__

Method __init__

diff2flow/flow.py:226–229  ·  view source on GitHub ↗

Sampler class for the FlowModel

(self, schedule, sample_eps=0)

Source from the content-addressed store, hash-verified

224
225class FlowSDE:
226 def __init__(self, schedule, sample_eps=0):
227 """ Sampler class for the FlowModel """
228 self.sample_eps = sample_eps # velocity & [GVP, LINEAR] is stable everywhere, hence 0
229 self.schedule = schedule
230
231 def drift(self, x, t, model, **model_kwargs):
232 model_output = model(x, t, **model_kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected