Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ initialize
Method
initialize
python/tests/test_nn.py:64–65 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
62
self.initialize()
63
64
def
initialize(self):
65
self.val = mx.array(1.0)
66
67
model = Model()
68
self.assertTrue(mx.array_equal(model.val, mx.array(1.0)))
Callers
1
__init__
Method · 0.95
Calls
1
array
Method · 0.60
Tested by
no test coverage detected