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

Method last_checkpoints

tensorflow/python/training/saver.py:1278–1286  ·  view source on GitHub ↗

List of not-yet-deleted checkpoint filenames. You can pass any of the returned values to `restore()`. Returns: A list of checkpoint filenames, sorted from oldest to newest.

(self)

Source from the content-addressed store, hash-verified

1276
1277 @property
1278 def last_checkpoints(self):
1279 """List of not-yet-deleted checkpoint filenames.
1280
1281 You can pass any of the returned values to `restore()`.
1282
1283 Returns:
1284 A list of checkpoint filenames, sorted from oldest to newest.
1285 """
1286 return list(self._CheckpointFilename(p) for p in self._last_checkpoints)
1287
1288 def set_last_checkpoints(self, last_checkpoints):
1289 """DEPRECATED: Use set_last_checkpoints_with_time.

Callers

nothing calls this directly

Calls 1

_CheckpointFilenameMethod · 0.95

Tested by

no test coverage detected