(self, image_embeds)
| 529 | torch.nn.LayerNorm(out_dim)) |
| 530 | |
| 531 | def forward(self, image_embeds): |
| 532 | clip_extra_context_tokens = self.proj(image_embeds) |
| 533 | return clip_extra_context_tokens |
| 534 | |
| 535 | class PositionalEncoding(nn.Module): |
| 536 | def __init__(self, d_model, max_len=5000): |
nothing calls this directly
no outgoing calls
no test coverage detected