(self, x_t, t, v)
| 273 | ) |
| 274 | |
| 275 | def predict_start_from_z_and_v(self, x_t, t, v): |
| 276 | return ( |
| 277 | extract_into_tensor(self.sqrt_alphas_cumprod, t, x_t.shape) * x_t - |
| 278 | extract_into_tensor(self.sqrt_one_minus_alphas_cumprod, t, x_t.shape) * v |
| 279 | ) |
| 280 | |
| 281 | def predict_eps_from_z_and_v(self, x_t, t, v): |
| 282 | return ( |
no test coverage detected