nuttx-apps/mlearning
Abhishek Mishra 00b6e59123 mlearning/tflite-micro: make the tflm tool run real models
The tflm tool could only allocate a model: it knew nine operators,
ran Invoke() on uninitialized input, and never printed the result.
The 64 KB MicroProfiler also lived on the 4 KB task stack.

Register the operators a model uses (about 90 builtins), verify the
file with the FlatBuffers verifier, and add:

  -I  print operators, input/output tensors and arena usage
  -d  comma separated input values, quantized automatically
  -x  raw input tensor file
  -n  repeat inference and print the average Invoke() time

Outputs are printed dequantized with argmax. Inputs are restored
before every run because the planner may reuse their buffers. The
resolver, profiler and interpreter are allocated on the heap.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
2026-10-01 23:18:31 +08:00
..
cmsis mlearning: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
cmsis-nn math: fixed the header file 2026-08-11 15:38:46 -04:00
darknet mlearning/tflite-micro: enable Makefile hello-world and usable tflm 2026-09-10 09:48:24 +02:00
libnnablart mlearning: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
tflite-micro mlearning/tflite-micro: make the tflm tool run real models 2026-10-01 23:18:31 +08:00
.gitignore add Machine Learning folder and menu 2022-01-27 17:33:16 +08:00
CMakeLists.txt mlearning: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
Make.defs mlearning: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
Makefile mlearning: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00