aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/protobuf/saved_model.proto
diff options
context:
space:
mode:
authorGravatar Noah Fiedel <nfiedel@google.com>2016-07-22 10:26:29 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-07-22 11:33:50 -0700
commitd924144a601111fb5a1e206c31e6c1c75d37d20c (patch)
treebec771ae208feda6be8dc229d4f2b592d42aa3dd /tensorflow/core/protobuf/saved_model.proto
parente849c057483c3b30dd5e6cfe26aa0fec510e4937 (diff)
Initial submit of SavedModel proto and related additions to
MetaGraph proto. Change: 128193561
Diffstat (limited to 'tensorflow/core/protobuf/saved_model.proto')
-rw-r--r--tensorflow/core/protobuf/saved_model.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/saved_model.proto b/tensorflow/core/protobuf/saved_model.proto
new file mode 100644
index 0000000000..c2595ddf88
--- /dev/null
+++ b/tensorflow/core/protobuf/saved_model.proto
@@ -0,0 +1,21 @@
+syntax = "proto3";
+
+package tensorflow;
+option cc_enable_arenas = true;
+option java_outer_classname = "SavedModelProtos";
+option java_multiple_files = true;
+option java_package = "org.tensorflow.framework";
+
+import "tensorflow/core/protobuf/meta_graph.proto";
+
+// SavedModel is the high level serialization format for TensorFlow Models.
+// See [todo: doc links, similar to session_bundle] for more information.
+message SavedModel {
+ // The schema version of the SavedModel instance. Used for versioning when
+ // making future changes to the specification/implementation. Initial value
+ // at release will be 1.
+ int64 saved_model_schema_version = 1;
+
+ // One or more MetaGraphs.
+ repeated MetaGraphDef meta_graphs = 2;
+}