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

Method save

caffe2/python/checkpoint.py:565–570  ·  view source on GitHub ↗

Build a Task that will execute a Save ops to serialize and persist blobs present in the global workspace.

(self, epoch)

Source from the content-addressed store, hash-verified

563 self._metadata_handler.report(action_name, all_stats)
564
565 def save(self, epoch):
566 """
567 Build a Task that will execute a Save ops to serialize and persist
568 blobs present in the global workspace.
569 """
570 return self._task_group(CheckpointManager.save, epoch)
571
572 def write_checkpoint_metadata(self, epoch):
573 """

Callers

nothing calls this directly

Calls 1

_task_groupMethod · 0.95

Tested by

no test coverage detected