MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / default_noise_sampler

Function default_noise_sampler

k_diffusion/sampling.py:61–62  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

59
60
61def default_noise_sampler(x):
62 return lambda sigma, sigma_next: torch.randn_like(x)
63
64
65class BatchedBrownianTree:

Callers 5

sample_euler_ancestralFunction · 0.85
sample_dpm_2_ancestralFunction · 0.85
dpm_solver_fastMethod · 0.85
dpm_solver_adaptiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected