# uTensor/uTensor

TinyML AI inference library

Repository: https://github.com/uTensor/uTensor
Canonical: https://ross.abutalabs.com/products/utensor
Language: C++
License: Apache-2.0
License Family: permissive
Topics: tensorflow, mbed, machine-learning, deep-learning, cortex-m, edge-computing, microcontroller, embedded, iot-middleware, iot
Last push: 2025-05-10T08:53:34+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 20, release rhythm 8, longevity 100
- inputs: {"age_days": 3268, "days_push": 480, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1928, forks 250 (observed 2026-08-28T04:05:55.885585+00:00)

## What it is
uTensor is an extremely lightweight machine learning inference framework built on TensorFlow and optimized for Arm Cortex-M microcontroller targets, with a core runtime of only ~2KB. It converts trained TensorFlow models into generated C++11 code plus a small runtime library for on-device inference.

## Use cases
- run neural network inference on a Cortex-M microcontroller
- deploy a TensorFlow model to embedded hardware
- run TinyML on an IoT device with limited RAM
- generate C++ code from a trained TensorFlow model
- do on-device ML inference without a cloud connection

## When to choose
- you need ML inference on resource-constrained Arm Cortex-M or mbed targets
- you want a minimal runtime footprint (~2KB) and predictable memory usage
- you prefer offline model translation to generated C++ code

## When to avoid
- you need training on-device rather than inference only
- you target non-Arm platforms or need broad operator support
- you want an actively evolving ecosystem like TFLite Micro

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, llm-inference, embedded
- domain: machine-learning, embedded-systems, iot
- platform: cpp, embedded, cross-platform
- tags: tinyml, tensorflow, cortex-m, edge-computing, microcontroller, mbed, model-codegen

## Member repositories
- uTensor/uTensor (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.885585+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:09:08.429072+00:00, confidence not recorded.
  - readme: https://github.com/uTensor/uTensor (fetched 2026-08-28T04:05:55.885585+00:00, sha aea888724628)
- Data as of 2026-08-30T08:39:29.467469+00:00.
