MCPcopy 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
57def 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
63class Object(object):

Callers 1

mainFunction · 0.85

Calls 1

alpha_sigma_to_tFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…