MCPcopy Create free account
hub / github.com/NVlabs/DiffPure / get_score_fn

Function get_score_fn

score_sde/models/utils.py:128–177  ·  view source on GitHub ↗

Wraps `score_fn` so that the model output corresponds to a real time-dependent score function. Args: sde: An `sde_lib.SDE` object that represents the forward SDE. model: A score model. train: `True` for training and `False` for evaluation. continuous: If `True`, the scor

(sde, model, train=False, continuous=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

denoise_update_fnFunction · 0.85
drift_fnFunction · 0.85

Calls 1

get_model_fnFunction · 0.85

Tested by

no test coverage detected