MCPcopy
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

emitMethod · 0.45
finalizeMethod · 0.45
labelFunction · 0.45
build_kernelFunction · 0.45
emitMethod · 0.45
finalizeMethod · 0.45
__init__Method · 0.45
repeatFunction · 0.45
test_sizeMethod · 0.45
_get_runnerFunction · 0.45
_decode_atFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_sizeMethod · 0.36