MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / denoise_to_zero_fn

Method denoise_to_zero_fn

schedule/dpm_solver_pytorch.py:549–553  ·  view source on GitHub ↗

Denoise at the final step, which is equivalent to solve the ODE from lambda_s to infty by first-order discretization.

(self, x, s)

Source from the content-addressed store, hash-verified

547 return timesteps_outer, orders
548
549 def denoise_to_zero_fn(self, x, s):
550 """
551 Denoise at the final step, which is equivalent to solve the ODE from lambda_s to infty by first-order discretization.
552 """
553 return self.data_prediction_fn(x, s)
554
555 def dpm_solver_first_update(self, x, s, t, model_s=None, return_intermediate=False):
556 """

Callers 1

sampleMethod · 0.95

Calls 1

data_prediction_fnMethod · 0.95

Tested by

no test coverage detected