MCPcopy
hub / github.com/tinygrad/tinygrad / nbytes

Method nbytes

test/mockgpu/mockgpu.py:37–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35
36 @property
37 def nbytes(self): return self.mv.nbytes
38 def __len__(self): return len(self.mv)
39 def __repr__(self): return repr(self.mv)
40

Callers 15

test_ptr_nbytesMethod · 0.45
test_simple_addMethod · 0.45
test_simple_add_sqMethod · 0.45
test_simple_matmulMethod · 0.45
testCopySHMtoDefaultMethod · 0.45
testCopyCPUtoDefaultMethod · 0.45
testCopyDefaulttoCPUMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_ptr_nbytesMethod · 0.36
test_simple_addMethod · 0.36
test_simple_add_sqMethod · 0.36
test_simple_matmulMethod · 0.36
testCopySHMtoDefaultMethod · 0.36
testCopyCPUtoDefaultMethod · 0.36
testCopyDefaulttoCPUMethod · 0.36