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.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/tensorflow/python/training/checkpoint_state.proto b/tensorflow/python/training/checkpoint_state.proto
new file mode 100644
index 0000000000..1f521341f1
--- /dev/null
+++ b/tensorflow/python/training/checkpoint_state.proto
@@ -0,0 +1,18 @@
+syntax = "proto3";
+
+package tensorflow;
+// option cc_enable_arenas = true;
+
+// Protocol buffer representing the checkpoint state.
+//
+// TODO(mdevin): Add other attributes as needed.
+message CheckpointState {
+ // Path to the most-recent model checkpoint.
+ string model_checkpoint_path = 1;
+
+ // Paths to all not-yet-deleted model checkpoints, sorted from oldest to
+ // newest.
+ // Note that the value of model_checkpoint_path should be the last item in
+ // this list.
+ repeated string all_model_checkpoint_paths = 2;
+}