• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

python/23-Nov-2023-193134

BUILDD23-Nov-20231.6 KiB8779

README.mdD23-Nov-2023810 1411

android_java_generator.ccD23-Nov-202337.8 KiB1,018900

android_java_generator.hD23-Nov-20234.2 KiB11757

code_generator.ccD23-Nov-20235.5 KiB180143

code_generator.hD23-Nov-20232.8 KiB8139

code_generator_test.ccD23-Nov-20234.9 KiB12794

metadata_helper.ccD23-Nov-20233.4 KiB10179

metadata_helper.hD23-Nov-20232 KiB5221

utils.ccD23-Nov-20235.5 KiB195144

utils.hD23-Nov-20234.2 KiB12847

utils_test.ccD23-Nov-20233 KiB9872

README.md

1# TensorFlow Lite Android Wrapper Code Generator
2
3For TensorFlow Lite model enhanced with [metadata](https://www.tensorflow.org/lite/convert/metadata.md),
4developers can use the TensorFlow Lite Android wrapper code generator to create
5platform specific wrapper code. The wrapper code removes the need to interact
6directly with `ByteBuffer`. Instead, developers can interact with the TensorFlow
7Lite model with typed objects such as `Bitmap` and `Rect`.
8
9The usefulness of the code generator depend on the completeness of the
10TensorFlow Lite model's metadata entry. Refer to the `<Codegen usage>` section
11under relevant fields in
12[metadata_schema.fbs](https://github.com/tensorflow/tflite-support/blob/master/tensorflow_lite_support/metadata/metadata_schema.fbs),
13to see how the codegen tool parses each field.
14