(self, hidden_states)
| 14 | self.proj = torch.nn.Conv3d(dim_in, dim_out, kernel_size=(1, patch_size, patch_size), stride=(1, patch_size, patch_size)) |
| 15 | |
| 16 | def forward(self, hidden_states): |
| 17 | hidden_states = self.proj(hidden_states) |
| 18 | hidden_states = rearrange(hidden_states, "B C T H W -> B (T H W) C") |
| 19 | return hidden_states |
| 20 | |
| 21 | |
| 22 |
nothing calls this directly
no outgoing calls
no test coverage detected