Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ get_crash_schedule
Function
get_crash_schedule
scripts/convert_dance_diffusion_to_diffusers.py:57–60 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
55
56
57
def
get_crash_schedule(t):
58
sigma = torch.sin(t * math.pi / 2) ** 2
59
alpha = (1 - sigma**2) ** 0.5
60
return
alpha_sigma_to_t(alpha, sigma)
61
62
63
class
Object(object):
Callers
1
main
Function · 0.85
Calls
1
alpha_sigma_to_t
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…