(self, x: torch.Tensor)
| 210 | return self.tokens_as_image(x) |
| 211 | |
| 212 | def embed(self, x: torch.Tensor): |
| 213 | return self.embed_conv(x).flatten(2).transpose(1, 2) |
| 214 | |
| 215 | def mask_input(self, x: torch.Tensor): |
| 216 | '''Mask the image patches uniformly at random, as described in the paper: the patch tokens are |
no outgoing calls
no test coverage detected