MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / pload

Function pload

index/dense/utils.py:70–74  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

68
69
70def pload(path):
71 with open(path, 'rb') as f:
72 res = pickle.load(f)
73 print('load path = {} object'.format(path))
74 return res
75
76def pstore(x, path, high_protocol = False):
77 with open(path, 'wb') as f:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected