MCPcopy Create free account
hub / github.com/ml-explore/mlx-examples / CLIPModelOutput

Class CLIPModelOutput

clip/model.py:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30@dataclass
31class CLIPModelOutput:
32 loss: Optional[mx.array]
33 text_embeds: Optional[mx.array]
34 image_embeds: Optional[mx.array]
35 text_model_output: CLIPTextOutput
36 vision_model_output: CLIPVisionOutput
37
38
39@dataclass

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected