Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CompVis/diff2flow
/ alpha_t
Method
alpha_t
diff2flow/flow.py:165–166 ·
view source on GitHub ↗
(self, t)
Source
from the content-addressed store, hash-verified
163
164
class
GVPSchedule(LinearSchedule):
165
def
alpha_t(self, t):
166
return
torch.sin(t * math.pi / 2)
167
168
def
alpha_dt_t(self, t):
169
return
0.5 * math.pi * torch.cos(t * math.pi / 2)
Callers
1
compute_xt
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected