(self, x_t, t, v)
| 142 | ) |
| 143 | |
| 144 | def predict_eps_from_z_and_v(self, x_t, t, v): |
| 145 | return ( |
| 146 | extract_into_tensor(self.sqrt_alphas_cumprod, t, x_t.shape) * v + |
| 147 | extract_into_tensor(self.sqrt_one_minus_alphas_cumprod, t, x_t.shape) * x_t |
| 148 | ) |
| 149 | |
| 150 | def predict_start_from_eps(self, x_t, t, noise): |
| 151 | return ( |
no test coverage detected