diff options
author | Allen Lavoie <allenl@google.com> | 2018-08-13 16:48:08 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-13 16:53:59 -0700 |
commit | 7a81491366afb444efb914b93594a11fdfc19896 (patch) | |
tree | 8a1af7f8549f08c2941d4ed47d3025ce63c8bf44 /tensorflow/docs_src | |
parent | b2dfe8a52053618afa1b0bd034ccbd2f9126ae6a (diff) |
Add tf.contrib.checkpoint.CheckpointManager for deleting old checkpoints
Removes a bit of boilerplate from training loops (making a prefix from a directory).
Also clarifies the recovery of checkpoint lists (like tf.train.Saver.recover_last_checkpoints, but automatic and more thorough). Adds a couple fields to the CheckpointState proto to support this.
Should live in contrib until I make it work well with tf.keras.Model.save_weights. When used together, save_weights needs to number its checkpoints. (There's a TODO for this.)
PiperOrigin-RevId: 208566198
Diffstat (limited to 'tensorflow/docs_src')
0 files changed, 0 insertions, 0 deletions