Skip to content

Documentation/applications: document how to test tflite-micro. - #20061

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
Abhishekmishra2808:docs/tflm-testing-howto
Sep 6, 2026
Merged

Documentation/applications: document how to test tflite-micro.#20061
xiaoxiang781216 merged 1 commit into
apache:masterfrom
Abhishekmishra2808:docs/tflm-testing-howto

Conversation

@Abhishekmishra2808

Copy link
Copy Markdown
Contributor

Summary

The TensorFlow Lite Micro page still described tflm_hello as CMake-only and did not explain how to test TFLM. apps PR apache/nuttx-apps#3772 builds hello-world from Makefile and makes tflm call AllocateTensors(). This updates Documentation/applications/mlearning/tflite-micro/index.rst with a Testing section for sim:tflm and aligns the tool, syslog, and patch notes with that apps change.

Impact

Documentation only. Users following sim:tflm now have a step-by-step test procedure (tflm -h, tflm_hello, ~~~ALL TESTS PASSED~~~).

Testing

I confirm that changes are verified on local setup and works as intended:

  • Build Host(s): Linux (WSL2), x86_64, GCC 13.3.0
  • Target(s): Sphinx HTML (Documentation/)
$ ./tools/checkpatch.sh -c -u -m -g HEAD~1...HEAD
Used config files:
    1: .codespellrc
✔️ All checks pass.
$ cd Documentation
$ pipenv run make html
...
build succeeded.

The HTML pages are in _build/html.

Add a Testing section for sim:tflm and document Makefile tflm_hello,
AllocateTensors, and generic ops so the in-tree docs match the apps
TFLM changes.

Assisted-by: Cursor:Grok-4.6
Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium labels Sep 6, 2026

@michallenc michallenc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@xiaoxiang781216
xiaoxiang781216 merged commit e6d8fe3 into apache:master Sep 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants