MCPcopy Create free account
hub / github.com/CompVis/diff2flow / log_snr_to_alpha_bar

Function log_snr_to_alpha_bar

diff2flow/diffusion.py:28–29  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

26
27
28def log_snr_to_alpha_bar(t):
29 return sigmoid(cos_log_snr(t))
30
31
32def shifted_cosine_alpha_bar(t, im_size: int, ref_size: int = 64):

Callers

nothing calls this directly

Calls 1

sigmoidFunction · 0.85

Tested by

no test coverage detected