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

Method training_losses

diff2flow/openai_diffusion/respace.py:94–97  ·  view source on GitHub ↗
(
        self, model, *args, **kwargs
    )

Source from the content-addressed store, hash-verified

92 return super().p_mean_variance(self._wrap_model(model), *args, **kwargs)
93
94 def training_losses(
95 self, model, *args, **kwargs
96 ): # pylint: disable=signature-differs
97 return super().training_losses(self._wrap_model(model), *args, **kwargs)
98
99 def condition_mean(self, cond_fn, *args, **kwargs):
100 return super().condition_mean(self._wrap_model(cond_fn), *args, **kwargs)

Callers

nothing calls this directly

Calls 1

_wrap_modelMethod · 0.95

Tested by

no test coverage detected