• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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