(self, x, loc=False)
| 325 | return self.pos_drop(x) |
| 326 | |
| 327 | def forward(self, x, loc=False): |
| 328 | x = self.prepare_tokens(x) |
| 329 | for blk in self.blocks: |
| 330 | x = blk(x) |
| 331 | return x |
| 332 | |
| 333 | def get_intermediate_layers(self, x, n=1): |
| 334 | x = self.prepare_tokens(x) |
nothing calls this directly
no test coverage detected