From: Chirag Shilwant <[email protected]> Add a new recipe to enable TFLite support in meta-arago-extras. This recipe uses the CMake build system and is based on the TensorFlow Lite v2.16.2 release.
One important note about this recipe is that it requires internet connectivity during the do_compile and do_configure stages. This is because the TensorFlow Lite CMake build system fetches additional packages during these stages. This patch is currently applicable to scarthgap only. The master branch may require a minor update to accommodate the UNPACKDIR changes. I plan to post a master-equivalent patch after some testing to ensure compatibility. Testing: - Verified that the recipe builds successfully for scarthgap for armv7 & armv8 - Performed DL inferencing on AM335x (armv7) & AM62x (armv8) via benchmark_model I would appreciate your review and feedback on this submission. Regards, Chirag Chirag Shilwant (1): meta-arago-extras: Add recipe for TFLite Runtime ...eLists-for-building-_pywrap_tensorfl.patch | 37 ++++ ...eLists-for-building-shared-object-li.patch | 55 +++++ ...uild-issues-observed-in-TFlite-v2.16.patch | 36 ++++ .../tensorflow-lite/tensorflow-lite_2.16.bb | 203 ++++++++++++++++++ 4 files changed, 331 insertions(+) create mode 100644 meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite/0001-lite-Update-CMakeLists-for-building-_pywrap_tensorfl.patch create mode 100644 meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite/0002-lite-Update-CMakeLists-for-building-shared-object-li.patch create mode 100644 meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite/0003-CMakeLists-Fix-build-issues-observed-in-TFlite-v2.16.patch create mode 100644 meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.16.bb -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15743): https://lists.yoctoproject.org/g/meta-arago/message/15743 Mute This Topic: https://lists.yoctoproject.org/mt/110775613/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
