(self, x_t, t, pred_xstart)
| 343 | ) |
| 344 | |
| 345 | def _predict_eps_from_xstart(self, x_t, t, pred_xstart): |
| 346 | return ( |
| 347 | _extract_into_tensor(self.sqrt_recip_alphas_cumprod, t, x_t.shape) * x_t - pred_xstart |
| 348 | ) / _extract_into_tensor(self.sqrt_recipm1_alphas_cumprod, t, x_t.shape) |
| 349 | |
| 350 | def condition_mean(self, cond_fn, p_mean_var, x, t, model_kwargs=None): |
| 351 | """ |
no test coverage detected