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

Method outer

python/tests/test_export_import.py:252–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250 mem_pre = 0
251
252 def outer():
253 d = {}
254
255 def f(x):
256 return d["x"]
257
258 d["f"] = mx.exporter(path, f)
259 d["x"] = mx.array([0] * 1000)
260
261 for _ in range(5):
262 outer()

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.60

Tested by

no test coverage detected