Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
61
def
default_noise_sampler(x):
62
return
lambda
sigma, sigma_next: torch.randn_like(x)
63
64
65
class
BatchedBrownianTree:
Callers
5
sample_euler_ancestral
Function · 0.85
sample_dpm_2_ancestral
Function · 0.85
dpm_solver_fast
Method · 0.85
dpm_solver_adaptive
Method · 0.85
sample_dpmpp_2s_ancestral
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected