aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training/checkpoint_state.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/training/checkpoint_state.proto')
-rw-r--r--tensorflow/python/training/checkpoint_state.proto8
1 files changed, 6 insertions, 2 deletions
diff --git a/tensorflow/python/training/checkpoint_state.proto b/tensorflow/python/training/checkpoint_state.proto
index 9172a5c331..704f7fdc88 100644
--- a/tensorflow/python/training/checkpoint_state.proto
+++ b/tensorflow/python/training/checkpoint_state.proto
@@ -4,8 +4,6 @@ package tensorflow;
option cc_enable_arenas = true;
// Protocol buffer representing the checkpoint state.
-//
-// TODO(touts): Add other attributes as needed.
message CheckpointState {
// Path to the most-recent model checkpoint.
string model_checkpoint_path = 1;
@@ -15,4 +13,10 @@ message CheckpointState {
// Note that the value of model_checkpoint_path should be the last item in
// this list.
repeated string all_model_checkpoint_paths = 2;
+ // Unix timestamps corresponding to all_model_checkpoint_paths, indicating
+ // when each checkpoint was created.
+ repeated double all_model_checkpoint_timestamps = 3;
+ // Unix timestamp indicating the creation time for the last preserved
+ // checkpoint.
+ double last_preserved_timestamp = 4;
}