MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _CheckpointFilename

Method _CheckpointFilename

tensorflow/python/training/saver.py:1171–1181  ·  view source on GitHub ↗

Returns the checkpoint filename given a `(filename, time)` pair. Args: p: (filename, time) pair. Returns: Checkpoint file name.

(self, p)

Source from the content-addressed store, hash-verified

1169 str(self.saver_def))
1170
1171 def _CheckpointFilename(self, p):
1172 """Returns the checkpoint filename given a `(filename, time)` pair.
1173
1174 Args:
1175 p: (filename, time) pair.
1176
1177 Returns:
1178 Checkpoint file name.
1179 """
1180 name, _ = p
1181 return name
1182
1183 def _RecordLastCheckpoint(self, latest_save_path):
1184 """Manages the list of the latest checkpoints."""

Callers 6

_RecordLastCheckpointMethod · 0.95
last_checkpointsMethod · 0.95
last_incr_checkpointsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected