(self, x_t, t, v)
| 303 | ) |
| 304 | |
| 305 | def predict_eps_from_z_and_v(self, x_t, t, v): |
| 306 | return ( |
| 307 | extract_into_tensor(self.sqrt_alphas_cumprod, t, x_t.shape) * v + |
| 308 | extract_into_tensor(self.sqrt_one_minus_alphas_cumprod, t, x_t.shape) * x_t |
| 309 | ) |
| 310 | |
| 311 | def q_posterior(self, x_start, x_t, t): |
| 312 | posterior_mean = ( |
no test coverage detected