Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinygrad/tinygrad
/ test_empty
Method
test_empty
test/unit/test_disk_tensor.py:237–238 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
235
236
class
TestDiskTensor(TempDirTestCase):
237
def
test_empty(self):
238
Tensor.empty(100, 100, device=f
"disk:{self.tmp('dt_empty')}"
)
239
240
def
test_simple_read(self):
241
fn = pathlib.Path(self.tmp(
"dt_simple_read"
))
Callers
nothing calls this directly
Calls
2
tmp
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected