MCPcopy
hub / github.com/tinygrad/tinygrad / load_file

Function load_file

examples/mlperf/dataloader.py:174–176  ·  view source on GitHub ↗
(file: str)

Source from the content-addressed store, hash-verified

172 }
173
174def load_file(file: str):
175 with open(file, "rb") as f:
176 return pickle.load(f)
177
178class InterleavedDataset:
179 def __init__(self, files:List[str], cycle_length:int):

Callers 3

__init__Method · 0.85
fillMethod · 0.85
batch_load_val_bertFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…