Returns the checkpoint filename given a `(filename, time)` pair. Args: p: (filename, time) pair. Returns: Checkpoint file name.
(self, p)
| 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.""" |
no outgoing calls
no test coverage detected