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

Method read

test/unit/test_system_pci_scan_bus.py:23–24  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

21 return ["0000:00:01.0", "0000:00:02.0"]
22
23 def read(self, *args, **kwargs):
24 return fake[self.path]
25
26 monkeypatch.setattr(system, "FileIOInterface", FakeFileIOInterface)
27

Callers 5

handleMethod · 0.45
test_real_safetensorsMethod · 0.45
test_metadataMethod · 0.45
test_write_onesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected