MCPcopy Create free account
hub / github.com/deepdrive/deepdrive / save_hdf5

Function save_hdf5

utils.py:74–79  ·  view source on GitHub ↗
(out, filename)

Source from the content-addressed store, hash-verified

72
73
74def save_hdf5(out, filename):
75 if 'DEEPDRIVE_NO_THREAD_SAVE' in os.environ:
76 save_hdf5_thread(out, filename)
77 else:
78 thread = threading.Thread(target=save_hdf5_thread, args=(out, filename))
79 thread.start()
80
81
82def save_hdf5_thread(out, filename):

Callers 1

maybe_saveMethod · 0.90

Calls 1

save_hdf5_threadFunction · 0.85

Tested by

no test coverage detected