MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / alpha_bar

Function alpha_bar

diffusers/src/diffusers/schedulers/scheduling_utils_flax.py:212–213  ·  view source on GitHub ↗
(time_step)

Source from the content-addressed store, hash-verified

210 """
211
212 def alpha_bar(time_step):
213 return math.cos((time_step + 0.008) / 1.008 * math.pi / 2) ** 2
214
215 betas = []
216 for i in range(num_diffusion_timesteps):

Callers 2

betas_for_alpha_barFunction · 0.85
betas_for_alpha_barFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected