glouw/tinn
A tiny neural network library observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3081
- days_rel: n/a
- days_push: 2054
- n_releases_24m: 0
Adoption not part of the score
2133 stars · 189 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Tinn is a tiny, dependency-free neural network library written in under 200 lines of C99, implementing a feedforward network with one hidden layer and sigmoidal activation trained via backpropagation. It is designed for portability and embedded systems, where a model can be trained on a desktop and loaded onto a microcontroller for inference.
Use cases
- train a tiny neural network in C for handwritten digit recognition
- run neural network inference on a microcontroller or embedded device
- learn how backpropagation works by reading a minimal implementation
- embed a small feedforward network in a C or C++ project without dependencies
- predict real-time sensor events from an ADC using a pretrained model
- use a neural network where only the C standard library is available
When to choose
- you need an extremely small, dependency-free neural network for embedded or constrained environments
- you want readable, minimal source code to study or modify neural network fundamentals
- your model fits a simple feedforward architecture with one hidden layer
When to avoid
- you need deep architectures, convolutions, GPUs, or modern training features
- you want a fully featured neural network library like Kann, Genann, PyTorch, or TensorFlow
- you need built-in multithreading, random seeding, or data shuffling utilities
Facets
library · maturity maintenance
machine-learning deep-learning machine-learning embedded-systems developer-tools cross-platform embedded c neural-network feedforward backpropagation minimalist single-hidden-layer c99 dependency-free microcontroller
1 source
- readme: https://github.com/glouw/tinn · fetched 2026-08-28 · d82065a89a86
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| glouw/tinn | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem