Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ t
Method
t
python/tests/test_array.py:2229–2233 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2227
key = mx.array([1, 2])
2228
2229
def
t():
2230
a, b = mx.split(key, 2)
2231
a = mx.reshape(a, [])
2232
b = mx.reshape(b, [])
2233
return
b
2234
2235
mx.synchronize()
2236
t()
Callers
nothing calls this directly
Calls
1
split
Method · 0.45
Tested by
no test coverage detected