Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
66
def
default_noise_sampler(x):
67
return
lambda
sigma, sigma_next: torch.randn_like(x)
68
69
70
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