Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-examples
/ Encoder
Class
Encoder
clip/model.py:190–192 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
188
189
190
class
Encoder(nn.Module):
191
def
__init__(self, config: CLIPTextConfig):
192
self.layers = [EncoderLayer(config)
for
_ in range(config.num_hidden_layers)]
193
194
195
class
ClipTextModel(nn.Module):
Callers
2
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected