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

Function get_model_fn

score_sde/models/utils.py:96–125  ·  view source on GitHub ↗

Create a function to give the output of the score-based model. Args: model: The score model. train: `True` for training and `False` for evaluation. Returns: A model function.

(model, train=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_score_fnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected