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

Method compute_d_alpha_alpha_ratio_t

diff2flow/flow.py:177–179  ·  view source on GitHub ↗

Special purposed function for computing numerical stabled d_alpha_t / alpha_t

(self, t)

Source from the content-addressed store, hash-verified

175 return - 0.5 * math.pi * torch.sin(t * math.pi / 2)
176
177 def compute_d_alpha_alpha_ratio_t(self, t):
178 """Special purposed function for computing numerical stabled d_alpha_t / alpha_t"""
179 return np.pi / (2 * torch.tan(t * np.pi / 2))
180
181
182""" SDE Sampler """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected