MCPcopy
hub / github.com/XPixelGroup/DiffBIR / default_noise_sampler

Function default_noise_sampler

diffbir/sampler/k_diffusion.py:66–67  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

64
65
66def default_noise_sampler(x):
67 return lambda sigma, sigma_next: torch.randn_like(x)
68
69
70class 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