Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ alpha_bar_fn
Function
alpha_bar_fn
diffusers/src/diffusers/schedulers/scheduling_pndm.py:53–54 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
51
if
alpha_transform_type ==
"cosine"
:
52
53
def
alpha_bar_fn(t):
54
return
math.cos((t + 0.008) / 1.008 * math.pi / 2) ** 2
55
56
elif
alpha_transform_type ==
"exp"
:
57
Callers
1
betas_for_alpha_bar
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected