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

Method condition_score

diff2flow/openai_diffusion/respace.py:102–103  ·  view source on GitHub ↗
(self, cond_fn, *args, **kwargs)

Source from the content-addressed store, hash-verified

100 return super().condition_mean(self._wrap_model(cond_fn), *args, **kwargs)
101
102 def condition_score(self, cond_fn, *args, **kwargs):
103 return super().condition_score(self._wrap_model(cond_fn), *args, **kwargs)
104
105 def _wrap_model(self, model):
106 if isinstance(model, _WrappedModel):

Callers

nothing calls this directly

Calls 1

_wrap_modelMethod · 0.95

Tested by

no test coverage detected