MCPcopy Index your code
hub / github.com/pytorch/pytorch / load

Method load

caffe2/python/checkpoint.py:490–495  ·  view source on GitHub ↗
(self, epoch, path_prefix=None, path_type=None)

Source from the content-addressed store, hash-verified

488 path_type=path_type)
489
490 def load(self, epoch, path_prefix=None, path_type=None):
491 return self._task_group(
492 CheckpointManager.load,
493 epoch,
494 path_prefix=path_prefix,
495 path_type=path_type)
496
497 def load_blobs_locally(self, nodes, blob_names, epoch, session):
498 """Loads the necessary blobs from the checkpoints to the current node.

Callers

nothing calls this directly

Calls 1

_task_groupMethod · 0.95

Tested by

no test coverage detected