aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/schema
diff options
context:
space:
mode:
authorGravatar Andrew Selle <aselle@google.com>2018-09-08 09:19:22 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-08 09:23:39 -0700
commit40037223b33fcdf178509ba5ece4ba33425c4627 (patch)
tree66f39a23b888ce40f18e33dbac818964a3a1d602 /tensorflow/contrib/lite/schema
parentbfead6061a6f10c5a3e5d05f8a946443fb9a3218 (diff)
Automated rollback of commit 0065d3389a63a529469dc71e950c66da2ebdbc24
PiperOrigin-RevId: 212119629
Diffstat (limited to 'tensorflow/contrib/lite/schema')
-rw-r--r--tensorflow/contrib/lite/schema/BUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/schema/BUILD b/tensorflow/contrib/lite/schema/BUILD
index 28a7e50003..55bf2c48b9 100644
--- a/tensorflow/contrib/lite/schema/BUILD
+++ b/tensorflow/contrib/lite/schema/BUILD
@@ -56,6 +56,20 @@ flatbuffer_cc_library(
srcs = ["schema.fbs"],
)
+# Generic schema for inference on device (but with reflections makes bigger).
+flatbuffer_cc_library(
+ name = "schema_fbs_with_reflection",
+ srcs = ["schema.fbs"],
+ flatc_args = [
+ "--reflect-types",
+ "--reflect-names",
+ "--no-union-value-namespacing",
+ "--gen-object-api",
+ ],
+ gen_reflections = True,
+ out_prefix = "reflection/",
+)
+
# Schema test to make sure we don't introduce backward incompatible changes
# to schemas.
cc_test(