(self)
| 442 | |
| 443 | class CLIPTextTransformer: |
| 444 | def __init__(self): |
| 445 | self.embeddings = CLIPTextEmbeddings() |
| 446 | self.encoder = CLIPEncoder() |
| 447 | self.final_layer_norm = LayerNorm(768) |
| 448 | |
| 449 | def __call__(self, input_ids): |
| 450 | seq_len = input_ids.shape[1] |
nothing calls this directly
no test coverage detected