(self, image, normalized=False)
| 1001 | return image_features, text_features, logit_scale.exp() |
| 1002 | |
| 1003 | def encode_image(self, image, normalized=False): |
| 1004 | with self.image_autocast(): |
| 1005 | return self._image_encoder(image, normalized=normalized) |
| 1006 | |
| 1007 | def encode_text(self, text, normalized=False): |
| 1008 | with self.text_autocast(): |
no outgoing calls
no test coverage detected