MCPcopy Create free account
hub / github.com/CompVis/zigma / __init__

Method __init__

transport/path.py:142–146  ·  view source on GitHub ↗
(self, sigma_min=0.1, sigma_max=20.0)

Source from the content-addressed store, hash-verified

140 """class for VP path flow matching"""
141
142 def __init__(self, sigma_min=0.1, sigma_max=20.0):
143 self.sigma_min = sigma_min
144 self.sigma_max = sigma_max
145 self.log_mean_coeff = lambda t: -0.25 * ((1 - t) ** 2) * (self.sigma_max - self.sigma_min) - 0.5 * (1 - t) * self.sigma_min
146 self.d_log_mean_coeff = lambda t: 0.5 * (1 - t) * (self.sigma_max - self.sigma_min) + 0.5 * self.sigma_min
147
148
149 def compute_alpha_t(self, t):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected