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.18.0 release.

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.

Changes in v2,
* Addressed Denys's suggestion to avoid network connectivity after do_fetch
* Moved to TFLite v2.18 which is the latest release tag
* Addressed Andrew's suggestion posted on v1 patch [0]

[0]: 
https://patchwork.yoctoproject.org/project/arago/patch/[email protected]/

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 |  61 +++++
 ...uild-issues-observed-in-TFlite-v2.18.patch |  36 +++
 .../tensorflow-lite/tensorflow2-lite.pc.in    |   6 +
 .../tensorflow-lite/tensorflow-lite_2.18.0.bb | 232 ++++++++++++++++++
 5 files changed, 372 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.18.patch
 create mode 100644 
meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite/tensorflow2-lite.pc.in
 create mode 100644 
meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.18.0.bb

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15893): 
https://lists.yoctoproject.org/g/meta-arago/message/15893
Mute This Topic: https://lists.yoctoproject.org/mt/111317743/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to