Dobiasd/frugally-deep
A lightweight header-only library for using Keras (TensorFlow) models in C++. observed · 2026-10-12
Health v2 · maintenance only
79/100
- Activity 72
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 2.0
- age_days: 3750
- days_rel: 171
- days_push: 168
- n_releases_24m: 15
Adoption not part of the score
1128 stars · 238 forks observed · 2026-10-12
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
frugally-deep is a lightweight header-only C++ library for running inference (forward passes) on Keras/TensorFlow models without linking against TensorFlow. It re-implements the subset of TensorFlow operations needed for prediction, supporting sequential and functional-API models on CPU.
Use cases
- run keras models in c++ without tensorflow
- deploy trained neural network in c++ application
- small binary size deep learning inference
- cpu-only model prediction in embedded or edge application
- load keras model file in c++
- parallel batch inference on multiple cpu cores
- avoid tensorflow dependency in production c++ build
When to choose
- you trained a model in Keras and need C++ inference without TensorFlow's large dependency
- binary size and easy integration matter more than GPU acceleration
- you need fast single-core prediction with easy multi-core scaling
- targeting 32-bit or resource-constrained environments
When to avoid
- you need GPU acceleration for inference
- you need training, not just prediction
- your model uses layer types or operations outside the supported subset
Facets
library · maturity active
machine-learning deep-learning llm-inference deep-learning machine-learning cross-platform cpp cross-platform keras tensorflow header-only inference neural-networks edge-computing tinyml cpu-only
1 source
- readme: https://github.com/Dobiasd/frugally-deep · fetched 2026-10-12 · 8c01e24a0a29
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Dobiasd/frugally-deep | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="Dobiasd/frugally-deep")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem