MCPcopy
hub / github.com/dmlc/dgl / load_info

Function load_info

python/dgl/data/utils.py:342–357  ·  view source on GitHub ↗

Load dataset related information from disk. Parameters ---------- path : str File to load information from. Returns ------- info : dict A python dict storing information loaded from disk.

(path)

Source from the content-addressed store, hash-verified

340
341
342def load_info(path):
343 """Load dataset related information from disk.
344
345 Parameters
346 ----------
347 path : str
348 File to load information from.
349
350 Returns
351 -------
352 info : dict
353 A python dict storing information loaded from disk.
354 """
355 with open(path, "rb") as pf:
356 info = pickle.load(pf)
357 return info
358
359
360def deprecate_property(old, new):

Callers 13

loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
check_versionMethod · 0.85
processMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected