MCPcopy Create free account
hub / github.com/NVlabs/SPADE / save_obj

Function save_obj

util/util.py:18–20  ·  view source on GitHub ↗
(obj, name)

Source from the content-addressed store, hash-verified

16
17
18def save_obj(obj, name):
19 with open(name, 'wb') as f:
20 pickle.dump(obj, f, pickle.HIGHEST_PROTOCOL)
21
22
23def load_obj(name):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected