You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.. | ||
python | 3 years ago | |
BUILD | 3 years ago | |
README.md | 3 years ago | |
android_java_generator.cc | 3 years ago | |
android_java_generator.h | 3 years ago | |
code_generator.cc | 3 years ago | |
code_generator.h | 3 years ago | |
code_generator_test.cc | 3 years ago | |
metadata_helper.cc | 3 years ago | |
metadata_helper.h | 3 years ago | |
utils.cc | 3 years ago | |
utils.h | 3 years ago | |
utils_test.cc | 3 years ago |
README.md
TensorFlow Lite Android Wrapper Code Generator
For TensorFlow Lite model enhanced with metadata,
developers can use the TensorFlow Lite Android wrapper code generator to create
platform specific wrapper code. The wrapper code removes the need to interact
directly with ByteBuffer
. Instead, developers can interact with the TensorFlow
Lite model with typed objects such as Bitmap
and Rect
.
The usefulness of the code generator depend on the completeness of the
TensorFlow Lite model's metadata entry. Refer to the <Codegen usage>
section
under relevant fields in
metadata_schema.fbs,
to see how the codegen tool parses each field.