Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-examples
/ __call__
Method
__call__
bert/model.py:54–58 ·
view source on GitHub ↗
(self, x, mask)
Source
from the content-addressed store, hash-verified
52
]
53
54
def
__call__(self, x, mask):
55
for
layer in self.layers:
56
x = layer(x, mask)
57
58
return
x
59
60
61
class
BertEmbeddings(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected