Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ size
Method
size
tinygrad/device.py:90–90 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
88
self.bufs = [Buffer(d, size, dtype)
for
d in device]
89
@property
90
def
size(self):
return
self.bufs[0].size
91
@property
92
def
dtype(self):
return
self.bufs[0].dtype
93
def
ref(self, cnt):
Callers
15
emit
Method · 0.45
finalize
Method · 0.45
label
Function · 0.45
build_kernel
Function · 0.45
emit
Method · 0.45
finalize
Method · 0.45
__init__
Method · 0.45
repeat
Function · 0.45
test_size
Method · 0.45
_test_kernel_roundtrip
Method · 0.45
_get_runner
Function · 0.45
_decode_at
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_size
Method · 0.36
_test_kernel_roundtrip
Method · 0.36