diff options
Diffstat (limited to 'tensorflow/contrib/lite/schema/BUILD')
-rw-r--r-- | tensorflow/contrib/lite/schema/BUILD | 14 |
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( |