xref: /aosp_15_r20/external/tensorflow/tensorflow/python/keras/protobuf/versions.proto (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1syntax = "proto3";
2
3package third_party.tensorflow.python.keras.protobuf;
4
5// This file is a copy of the TensorFlow Versions proto.
6// Keep this file in sync with the source proto definition at
7// https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/versions.proto
8
9// Version information for a piece of serialized data
10//
11// There are different types of versions for each type of data
12// (GraphDef, etc.), but they all have the same common shape
13// described here.
14//
15// Each consumer has "consumer" and "min_producer" versions (specified
16// elsewhere).  A consumer is allowed to consume this data if
17//
18//   producer >= min_producer
19//   consumer >= min_consumer
20//   consumer not in bad_consumers
21//
22// LINT.IfChange
23message VersionDef {
24  // The version of the code that produced this data.
25  int32 producer = 1;
26
27  // Any consumer below this version is not allowed to consume this data.
28  int32 min_consumer = 2;
29
30  // Specific consumer versions which are disallowed (e.g. due to bugs).
31  repeated int32 bad_consumers = 3;
32}
33// LINT.ThenChange(//tensorflow/core/framework/versions.proto)
34