Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zai-org/CogVideo
/ to_d
Function
to_d
sat/sgm/modules/diffusionmodules/sampling_utils.py:146–147 ·
view source on GitHub ↗
(x, sigma, denoised)
Source
from the content-addressed store, hash-verified
144
145
146
def
to_d(x, sigma, denoised):
147
return
(x - denoised) / append_dims(sigma, x.ndim)
148
149
150
def
to_neg_log_sigma(sigma):
Callers
5
sampler_step
Method · 0.85
sampler_step
Method · 0.85
ancestral_euler_step
Method · 0.85
__call__
Method · 0.85
possible_correction_step
Method · 0.85
Calls
1
append_dims
Function · 0.50
Tested by
no test coverage detected