mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 06:15:20 +00:00
The tflm tool registered DEPTHWISE_CONV_2D in nuttx-apps#3773, but the docs still listed eight operators. Document the unused -C compile path, that the sim helper uses heap I/O, and the pinned TFLM/CMSIS/NNABLA versions. Add missing gemmlowp, KissFFT, Ruy, and FlatBuffers pages, document the AI-engine character driver, and wire it into CMake. Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
39 lines
1.4 KiB
ReStructuredText
39 lines
1.4 KiB
ReStructuredText
========================
|
|
Machine Learning Support
|
|
========================
|
|
|
|
NuttX machine learning support lives in the `apps
|
|
<https://github.com/apache/nuttx-apps>`_ repository under
|
|
``apps/mlearning``. These packages wrap upstream TinyML runtimes and
|
|
optimized kernels. The build system fetches the selected upstream sources
|
|
when the corresponding Kconfig option is enabled.
|
|
|
|
Enable the libraries from::
|
|
|
|
Application Configuration --->
|
|
Machine Learning Support --->
|
|
|
|
The following packages are available:
|
|
|
|
- :doc:`cmsis/index` — ARM CMSIS 5 DSP and NN libraries (Makefile only)
|
|
- :doc:`cmsis-nn/index` — standalone ARM CMSIS-NN kernels for TensorFlow Lite Micro
|
|
- :doc:`darknet/index` — Darknet YOLO object detection (Makefile only)
|
|
- :doc:`libnnablart/index` — Sony NNABLA C inference runtime (Makefile only)
|
|
- :doc:`tflite-micro/index` — TensorFlow Lite for Microcontrollers
|
|
|
|
``CONFIG_CMSIS_NN`` (nested under CMSIS Libraries) is not the same
|
|
option as ``CONFIG_MLEARNING_CMSIS_NN`` (standalone CMSIS-NN used by
|
|
TFLM). CMake currently builds ``tflite-micro`` and ``cmsis-nn`` only.
|
|
|
|
A ready-to-build simulator configuration is ``sim:tflm``. See
|
|
:doc:`/platforms/sim/sim/boards/sim/index`. The kernel also has an
|
|
optional AI-engine character driver (``CONFIG_AI_ENGINE``); see
|
|
:doc:`/components/drivers/character/aie`.
|
|
|
|
.. toctree::
|
|
:glob:
|
|
:maxdepth: 1
|
|
:titlesonly:
|
|
:caption: Contents
|
|
|
|
*/index*
|