Name Date Size #Lines LOC

..--

python/H25-Apr-2025-193134

BUILDH A D25-Apr-20251.6 KiB8779

README.mdH A D25-Apr-2025810 1411

android_java_generator.ccH A D25-Apr-202537.8 KiB1,018900

android_java_generator.hH A D25-Apr-20254.2 KiB11757

code_generator.ccH A D25-Apr-20255.5 KiB180143

code_generator.hH A D25-Apr-20252.8 KiB8139

code_generator_test.ccH A D25-Apr-20254.9 KiB12794

metadata_helper.ccH A D25-Apr-20253.4 KiB10179

metadata_helper.hH A D25-Apr-20252 KiB5221

utils.ccH A D25-Apr-20255.5 KiB195144

utils.hH A D25-Apr-20254.2 KiB12847

utils_test.ccH A D25-Apr-20253 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