MCPcopy Create free account
hub / github.com/NVIDIA/DALI / populate

Function populate

dali/test/python/reader/test_file.py:32–35  ·  view source on GitHub ↗
(root, files)

Source from the content-addressed store, hash-verified

30
31
32def populate(root, files):
33 for fname in files:
34 with open(os.path.join(root, fname), "w") as f:
35 f.write(ref_contents(fname))
36
37
38g_root = None

Callers 1

setUpModuleFunction · 0.85

Calls 1

ref_contentsFunction · 0.85

Tested by

no test coverage detected