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

Method compile

caffe2/python/checkpoint.py:91–96  ·  view source on GitHub ↗
(self, session_class)

Source from the content-addressed store, hash-verified

89 return self.init_group.used_nodes()
90
91 def compile(self, session_class):
92 self._nodes_to_checkpoint = self.nodes_to_checkpoint()
93 self.init_group = session_class.compile(self.init_group)
94 self.epoch_group = session_class.compile(self.epoch_group)
95 self.download_group = session_class.compile(self.download_group)
96 self.exit_group = session_class.compile(self.exit_group)
97
98 def __enter__(self):
99 super().__enter__()

Callers 9

runMethod · 0.45
process_docstringFunction · 0.45
run_withMethod · 0.45
_setupMethod · 0.45
run_single_experimentFunction · 0.45

Calls 1

nodes_to_checkpointMethod · 0.95

Tested by 5

run_withMethod · 0.36