MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / test_load_large_shape

Method test_load_large_shape

test/null/test_tinyfs.py:15–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 t.schedule_linear()
14
15 def test_load_large_shape(self):
16 t = Tensor(bytes(16)).fs_load(10_000_000)
17 assert t.shape == (10_000_000,), t.shape
18 t.schedule_linear()
19
20 def test_store_large_shape(self):
21 t = Tensor.zeros(10_000_000).fs_store()

Callers

nothing calls this directly

Calls 3

TensorClass · 0.90
fs_loadMethod · 0.80
schedule_linearMethod · 0.80

Tested by

no test coverage detected