aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/schema/schema.fbs
diff options
context:
space:
mode:
authorGravatar Yu-Cheng Ling <ycling@google.com>2018-05-13 19:52:18 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-13 19:55:02 -0700
commit699b217cd6c5ddc0832be8471dde47999829e435 (patch)
tree035167be1ec270dded665347d20ec9385bed0fcc /tensorflow/contrib/lite/schema/schema.fbs
parent2fbc0c5a45955c877e0a165bb561fc2f01518321 (diff)
Introduce op version into TFLite
PiperOrigin-RevId: 196448769
Diffstat (limited to 'tensorflow/contrib/lite/schema/schema.fbs')
-rw-r--r--tensorflow/contrib/lite/schema/schema.fbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/schema/schema.fbs b/tensorflow/contrib/lite/schema/schema.fbs
index f310a0585f..481659d458 100644
--- a/tensorflow/contrib/lite/schema/schema.fbs
+++ b/tensorflow/contrib/lite/schema/schema.fbs
@@ -447,6 +447,10 @@ table SliceOptions {
table OperatorCode {
builtin_code:BuiltinOperator;
custom_code:string;
+
+ // The version of the operator. The version need to be bumped whenever new
+ // parameters are introduced into an op.
+ version:int = 1;
}
enum CustomOptionsFormat : byte {