(self, hidden_states, height, width)
| 300 | |
| 301 | |
| 302 | def unpatchify(self, hidden_states, height, width): |
| 303 | hidden_states = rearrange(hidden_states, "B (H W) (C P Q) -> B C (H P) (W Q)", P=2, Q=2, H=height//2, W=width//2) |
| 304 | return hidden_states |
| 305 | |
| 306 | |
| 307 | def prepare_image_ids(self, latents): |