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

Method test_store_shape

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

Source from the content-addressed store, hash-verified

8 t.schedule_linear()
9
10 def test_store_shape(self):
11 t = Tensor.zeros(1024).fs_store()
12 assert t.shape == (16,), t.shape
13 t.schedule_linear()
14
15 def test_load_large_shape(self):
16 t = Tensor(bytes(16)).fs_load(10_000_000)

Callers

nothing calls this directly

Calls 3

fs_storeMethod · 0.80
zerosMethod · 0.80
schedule_linearMethod · 0.80

Tested by

no test coverage detected