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

Method compute_alpha_t

transport/path.py:149–154  ·  view source on GitHub ↗

Compute coefficient of x1

(self, t)

Source from the content-addressed store, hash-verified

147
148
149 def compute_alpha_t(self, t):
150 """Compute coefficient of x1"""
151 alpha_t = self.log_mean_coeff(t)
152 alpha_t = th.exp(alpha_t)
153 d_alpha_t = alpha_t * self.d_log_mean_coeff(t)
154 return alpha_t, d_alpha_t
155
156 def compute_sigma_t(self, t):
157 """Compute coefficient of x0"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected