mirror of https://github.com/vee1e/tflite-micro - Infrastructure to enable deployment of ML models to low-powe
Find a file
Måns Nilsson 8085cecefc
Add kernel build flag for prioritizing speed or size (#2408)
Adds a build flag that can be used by any kernel to provide a different implementation depending on use case.
Adds a first use case for cmsis-nn transpose conv.

The background for this PR is in https://github.com/tensorflow/tflite-micro/pull/2345

BUG=none
2024-02-23 18:03:57 +00:00
.github Add workflow_call to cortex_m.yml (#2466) 2024-02-22 13:08:41 -08:00
ci ci: remove obsolete ci/flatbuffers_for_tf_sync (#2273) 2023-10-13 17:50:06 +00:00
codegen codegen: Remove make helpers for codegen (#2378) 2024-01-09 19:54:12 +00:00
data/continuous_builds
docs
python Replace tensorflow-cpu usage with tensorflow (#2396) 2024-02-23 00:35:22 +00:00
signal Adds optimized kernels for Signal ops (#2287) 2023-10-25 22:39:23 +00:00
tensorflow Add kernel build flag for prioritizing speed or size (#2408) 2024-02-23 18:03:57 +00:00
third_party Replace tensorflow-cpu usage with tensorflow (#2396) 2024-02-23 00:35:22 +00:00
tools Add expand_stamp_vars docstring and fix import (#2178) 2023-08-21 16:53:10 +00:00
.bazelrc Fix bazel 7.0 bzlmod update (#2352) 2023-12-12 00:35:03 +00:00
.bazelversion build(bazel): pin bazel version to 7.0.0 (#2360) 2024-01-03 20:53:21 +00:00
.clang-format
.editorconfig
.gitignore
AUTHORS
BUILD
CODEOWNERS
CONTRIBUTING.md build(bazel): pin bazel version to 7.0.0 (#2360) 2024-01-03 20:53:21 +00:00
debugging_output.md Adding ReadMe for Layer by Layer Debug Targets (#2305) 2023-11-28 22:06:25 +00:00
LICENSE
README.md
SECURITY.md
WORKSPACE Replace tensorflow-cpu usage with tensorflow (#2396) 2024-02-23 00:35:22 +00:00

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