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

Method sigma_t

diff2flow/flow.py:171–172  ·  view source on GitHub ↗
(self, t)

Source from the content-addressed store, hash-verified

169 return 0.5 * math.pi * torch.cos(t * math.pi / 2)
170
171 def sigma_t(self, t):
172 return torch.cos(t * math.pi / 2)
173
174 def sigma_dt_t(self, t):
175 return - 0.5 * math.pi * torch.sin(t * math.pi / 2)

Callers 1

compute_xtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected