(self, hidden_states, height, width)
| 228 | |
| 229 | |
| 230 | def unpatchify(self, hidden_states, height, width): |
| 231 | hidden_states = rearrange(hidden_states, "B (T H W) (C P Q) -> B C T (H P) (W Q)", P=2, Q=2, H=height//2, W=width//2) |
| 232 | return hidden_states |
| 233 | |
| 234 | |
| 235 | def build_mask(self, T, H, W, dtype, device, is_bound): |
no outgoing calls
no test coverage detected