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

Function get_sampling_fn

score_sde/sampling.py:80–123  ·  view source on GitHub ↗

Create a sampling function. Args: config: A `ml_collections.ConfigDict` object that contains all configuration information. sde: A `sde_lib.SDE` object that represents the forward SDE. shape: A sequence of integers representing the expected shape of a single sample. inverse_scaler

(config, sde, shape, inverse_scaler, eps)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

get_ode_samplerFunction · 0.85
get_predictorFunction · 0.85
get_correctorFunction · 0.85
get_pc_samplerFunction · 0.85

Tested by

no test coverage detected