Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).
Go to file
David Davis f5c36ef2ef
Change MicroInterpreter::SetCompressionMemory API (#3267)
* Support for DECODE operator

@tensorflow/micro

Add support for alternate decompression memory to DECODE operator.
Additional unit tests.
Update generic benchmark application and Makefile.

bug=fixes #3212

* fixes.

* Changes as per review.

* Change SetDecompressionMemory API
2025-12-10 17:40:19 +00:00
.github Removed mergify (#3234) 2025-10-29 09:09:51 -07:00
ci Switch to LiteRT repo (#3199) 2025-10-06 14:52:15 +02:00
codegen [CI] Removed six, updated absl_py (#3203) 2025-09-25 14:37:39 -07:00
data/continuous_builds
docs
python [CI] Replaced tensorflow with tensorflow-cpu (#3261) 2025-12-03 13:43:14 -08:00
signal [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00
tensorflow Change MicroInterpreter::SetCompressionMemory API (#3267) 2025-12-10 17:40:19 +00:00
third_party [CI] Replaced tensorflow with tensorflow-cpu (#3261) 2025-12-03 13:43:14 -08:00
tools Add expand_stamp_vars docstring and fix import (#2178) 2023-08-21 16:53:10 +00:00
.bazelrc build(bazel): provide means of excluding whl_test locally (#2940) 2024-11-27 00:51:53 +00:00
.bazelversion build(bazel): pin bazel version to 7.0.0 (#2360) 2024-01-03 20:53:21 +00:00
.clang-format
.editorconfig chore(editorconfig): add max_line_length for python files (#3225) 2025-10-17 10:00:56 -07:00
.gitignore
.style.yapf style: add .style.yapf to control yapf styling of Python code (#2709) 2024-10-02 18:36:01 +00:00
AUTHORS
BUILD [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00
CODEOWNERS Updated owners (#3195) 2025-09-22 10:03:58 -07:00
CONTRIBUTING.md style: add .style.yapf to control yapf styling of Python code (#2709) 2024-10-02 18:36:01 +00:00
LICENSE
README.md docs(compression): add MNIST compression tutorial (#3224) 2025-10-17 10:01:13 -07:00
SECURITY.md
WORKSPACE [CI] Replaced tensorflow with tensorflow-cpu (#3261) 2025-12-03 13:43:14 -08:00
debugging_output.md Adding ReadMe for Layer by Layer Debug Targets (#2305) 2023-11-28 22:06:25 +00:00

README.md

TensorFlow Lite for Microcontrollers

TensorFlow Lite for Microcontrollers is a port of TensorFlow Lite designed to run machine learning models on DSPs, microcontrollers and other devices with limited memory.

Additional Links:

Build Status

Official Builds

Build Type Status
CI (Linux) CI
Code Sync Sync from Upstream TF

Community Supported TFLM Examples

This table captures platforms that TFLM has been ported to. Please see New Platform Support for additional documentation.

Platform Status
Arduino Arduino Antmicro
Coral Dev Board Micro TFLM + EdgeTPU Examples for Coral Dev Board Micro
Espressif Systems Dev Boards ESP Dev Boards
Renesas Boards TFLM Examples for Renesas Boards
Silicon Labs Dev Kits TFLM Examples for Silicon Labs Dev Kits
Sparkfun Edge Sparkfun Edge
Texas Instruments Dev Boards Texas Instruments Dev Boards

Community Supported Kernels and Unit Tests

This is a list of targets that have optimized kernel implementations and/or run the TFLM unit tests using software emulation or instruction set simulators.

Build Type Status
Cortex-M Cortex-M
Hexagon Hexagon
RISC-V RISC-V
Xtensa Xtensa
Generate Integration Test Generate Integration Test

Contributing

See our contribution documentation.

Getting Help

A Github issue should be the primary method of getting in touch with the TensorFlow Lite Micro (TFLM) team.

The following resources may also be useful:

  1. SIG Micro email group and monthly meetings.

  2. SIG Micro gitter chat room.

  3. For questions that are not specific to TFLM, please consult the broader TensorFlow project, e.g.:

Additional Documentation

RFCs

  1. Pre-allocated tensors
  2. TensorFlow Lite for Microcontrollers Port of 16x8 Quantized Operators