Lightweight Neural Networks ML Frameworks
Minimal, educational neural network frameworks built from scratch in C/C99/C++ without heavy dependencies. Includes basic implementations of MLPs, CNNs, and training algorithms for learning purposes. Does NOT include production-grade frameworks (TensorFlow, PyTorch), frameworks with GPU/CUDA as primary focus, or tensor computation libraries.
There are 156 lightweight neural networks frameworks tracked. 4 score above 50 (established tier). The highest-rated is flashlight/flashlight at 56/100 with 5,439 stars.
Get all 156 projects as JSON
curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=lightweight-neural-networks&limit=20"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
| # | Framework | Score | Tier |
|---|---|---|---|
| 1 |
flashlight/flashlight
A C++ standalone library for machine learning |
|
Established |
| 2 |
NVlabs/tiny-cuda-nn
Lightning fast C++/CUDA neural network framework |
|
Established |
| 3 |
tiny-dnn/tiny-dnn
header only, dependency-free deep learning framework in C++14 |
|
Established |
| 4 |
Dobiasd/frugally-deep
A lightweight header-only library for using Keras (TensorFlow) models in C++. |
|
Established |
| 5 |
KasperskyLab/knp
Kaspersky Neuromorphic Platform |
|
Emerging |
| 6 |
wichtounet/dll
Fast Deep Learning Library (DLL) for C++ (ANNs, CNNs, RBMs, DBNs...) |
|
Emerging |
| 7 |
nntile/nntile
A neural network training framework within a task-based parallel programming paradigm |
|
Emerging |
| 8 |
pplonski/keras2cpp
This is a bunch of code to port Keras neural network model into pure C++. |
|
Emerging |
| 9 |
LBANN/lbann
Livermore Big Artificial Neural Network Toolkit |
|
Emerging |
| 10 |
attractivechaos/kann
A lightweight C library for artificial neural networks |
|
Emerging |
| 11 |
Gattic/glades-ml
Open Source C++ library for creating and managing deep feed forward neural networks. |
|
Emerging |
| 12 |
OpenPPL/ppl.nn
A primitive library for neural network |
|
Emerging |
| 13 |
gosha20777/keras2cpp
it's a small library for running trained Keras 2 models from a native C++ code. |
|
Emerging |
| 14 |
77axel/PyCNN
A Python library to easily build, train, and test your CNN AI models. |
|
Emerging |
| 15 |
BobMcDear/neural-network-cuda
Neural network from scratch in CUDA/C++ |
|
Emerging |
| 16 |
xylcbd/EasyCNN
easy convolution neural network |
|
Emerging |
| 17 |
GarethRichards/Machine-Learning-CPP
Code from Michael Nielsen book Neural Networks and Deep Learning ported to C++. |
|
Emerging |
| 18 |
LieluoboAi/radish
C++ model train&inference framework |
|
Emerging |
| 19 |
Thalhammer/snowman
Snowboy reimplementation |
|
Emerging |
| 20 |
shi-yan/FreeWill
A deep learning library in C++/CUDA |
|
Emerging |
| 21 |
RishabSA/AutoNeuroNet
AutoNeuroNet is a fully implemented automatic differentiation engine with... |
|
Emerging |
| 22 |
brohrer/sharpened-cosine-similarity
An alternative to convolution in neural networks |
|
Emerging |
| 23 |
Tyill/sunnet
tiny neural net |
|
Emerging |
| 24 |
apennisi/deep_sort
Deep Sort algorithm C++ version |
|
Emerging |
| 25 |
WICWIU/WICWIU
WICWIU(What I can Create is What I Understand) |
|
Emerging |
| 26 |
primitiv/primitiv
A Neural Network Toolkit. |
|
Emerging |
| 27 |
snuspl/nimble
Lightweight and Parallel Deep Learning Framework |
|
Emerging |
| 28 |
100/Cranium
🤖 A portable, header-only, artificial neural network library written in C99 |
|
Emerging |
| 29 |
Bengal1/Simple-CNN-Guide
A beginner’s guide to building Convolutional Neural Networks (CNNs). |
|
Emerging |
| 30 |
YA2IR/cnn-in-c
Convolutional Neural Network (CNN) In C |
|
Emerging |
| 31 |
hshatti/LightNet
Implemented in pure pascal LightNet is an artificial intelligence neural... |
|
Emerging |
| 32 |
Miguelszzz/simple_mnist
Minimalist MNIST implementation with two hidden layers written in C |
|
Emerging |
| 33 |
artix75/psyc
A C implementation of common Artificial Neural Networks |
|
Emerging |
| 34 |
mz24cn/clnet
OpenCL for Nets - A Deep Learning Framework based on OpenCL, written by C++.... |
|
Emerging |
| 35 |
artyom-beilis/dlprimitives
Deep Learning Primitives and Mini-Framework for OpenCL |
|
Emerging |
| 36 |
intel/clDNN
Compute Library for Deep Neural Networks (clDNN) |
|
Emerging |
| 37 |
yixuan/MiniDNN
A header-only C++ library for deep neural networks |
|
Emerging |
| 38 |
lmnt-com/haste
Haste: a fast, simple, and open RNN library |
|
Emerging |
| 39 |
can1357/simple_cnn
Simple Convolutional Neural Network Library |
|
Emerging |
| 40 |
graphcore/poplibs
Poplar libraries |
|
Emerging |
| 41 |
Ricardicus/recurrent-neural-net
A recurrent (LSTM) neural network in C |
|
Emerging |
| 42 |
Bengal1/Simple-CNN-OOP
A from-scratch Convolutional Neural Network in C++ OOP. |
|
Emerging |
| 43 |
thibo73800/deep-generation
I used in this project a reccurent neural network to generate c code based... |
|
Emerging |
| 44 |
fengwang/ceras
Ceras is yet another tiny deep learning engine, in pure c++ and header only. |
|
Emerging |
| 45 |
Okerew/larkos
This repository shows an alternative neural network structure to modern... |
|
Emerging |
| 46 |
A-Georgiou/SmartDNN
SmartDNN: A C++ Deep Learning library. Built from the ground up without any... |
|
Emerging |
| 47 |
leleonardzhang/Capuchin
A framework and model generator for Neural Network inferences on MSP430 |
|
Experimental |
| 48 |
Gattic/NNCreator
GUI interface for creating feed forward neural networks and its variants |
|
Experimental |
| 49 |
lancopku/meProp
meProp: Sparsified Back Propagation for Accelerated Deep Learning (ICML 2017) |
|
Experimental |
| 50 |
DomenSoberl/deep-c
Pure C implementation of deep learning algorithms |
|
Experimental |
| 51 |
fkkarakurt/Nerve
This is a basic implementation of a neural network for use in C and C++... |
|
Experimental |
| 52 |
dreamilk/ANN
An artificial neural network framework based on c++ |
|
Experimental |
| 53 |
MGokcayK/gNet
mini Deep Learning Library |
|
Experimental |
| 54 |
fkkarakurt/iNeural
A library for creating Artificial Neural Networks, for use in Machine... |
|
Experimental |
| 55 |
iVishalr/cDNN
Fast and Efficient Deep Learning Library in C |
|
Experimental |
| 56 |
siekmanj/sieknet
A recurrent/memory-based neural network library implemented from scratch in C. |
|
Experimental |
| 57 |
DorianBDev/TigiNet
TigiNet is a simple c++ neural network library. |
|
Experimental |
| 58 |
andreabonvini/pointprocess
A C++ Library for Point Process Analysis |
|
Experimental |
| 59 |
SorawitChok/Neural-Network-from-scratch-in-Cpp
Build a Neural Network from scratch in C++ to deeply understand how it... |
|
Experimental |
| 60 |
tungphambasement/TNN
Tensor Neural Network - C/C++ Deep Learning Library built from scratch |
|
Experimental |
| 61 |
CarloWood/machine-learning
My first ML sandbox |
|
Experimental |
| 62 |
rusih100/simple-neural-network
🧬 A simple scalable evolutionary neural network in C++ |
|
Experimental |
| 63 |
mrousavy/BrabeNetz
🧠 A fast and clean supervised neural network in C++, capable of effectively... |
|
Experimental |
| 64 |
FFMG/neural-network
A simple, from-scratch C++ Feedforward Neural Network with zero... |
|
Experimental |
| 65 |
qaz9517532846/mnist_cudnn
MNIST handwriting recognition using Deep learning and CUDNN library under ROS 2. |
|
Experimental |
| 66 |
SmartPolarBear/cppbp
A lightweight extensible library for constructing artificial neural network... |
|
Experimental |
| 67 |
jkorsvik/NMBUFlowTorch
Implementation of an Expandable Neural Net library - relying on the use of... |
|
Experimental |
| 68 |
thejvdev/neural-net-from-scratch
Repository for Writing a Neural Networks in the C Language |
|
Experimental |
| 69 |
zerothorder/synapse
a multi-layer perceptron in C++ built from scratch. |
|
Experimental |
| 70 |
mpcsource/7_Scratch_Neural_Network
A simple neural network library written in C++ for educational purposes. It... |
|
Experimental |
| 71 |
ddigiorg/simple-cortex
A simple unsupervised on-line learning architecture |
|
Experimental |
| 72 |
dragunovdenis/DeepLearning
C++ framework for deep neural networks |
|
Experimental |
| 73 |
g0d/GANN
Geeks Artificial Neural Network (G.A.N.N) |
|
Experimental |
| 74 |
Andezion/CLib
My attempts to understand neural networks |
|
Experimental |
| 75 |
iWolf22/neural-network.cpp
A neural network written completely from scratch. No PyTorch. No TensorFlow.... |
|
Experimental |
| 76 |
syedsalman137/mamba-inference-in-c
Inference mamba in one file of C |
|
Experimental |
| 77 |
mesutpiskin/characterRecognition
:ab: Character Recognition with Artificial Neural Network ANN - C# Project |
|
Experimental |
| 78 |
AyushExel/LibNet
Deep Neural Network algorithms library for c++ from scratch |
|
Experimental |
| 79 |
Yahia995/tiny-nn
Minimal neural network engine built from scratch in modern C++20 with... |
|
Experimental |
| 80 |
Magicalbat/TurboSpork
A system for creating neural networks in C |
|
Experimental |
| 81 |
moinfra/sylvan
🌳 An educational modern C++ deep learning framework supporting CUDA |
|
Experimental |
| 82 |
mehmet-kozan/simple-neural-network
A from-scratch implementation of a feedforward neural network in C# (.NET 8)... |
|
Experimental |
| 83 |
lhldev/cneuron
Lightweight neural network library in C. |
|
Experimental |
| 84 |
WW92030-STORAGE/NEURAL2
Neural Networks in C++ (Remastered!) |
|
Experimental |
| 85 |
Siwwyy/NN_ENGINE
Neural Network engine! Design of code is based on popular Neural Networks,... |
|
Experimental |
| 86 |
bundit/neural-network-digit-recognition
Multi-layered Convolutional Neural Network written in C++11 |
|
Experimental |
| 87 |
dredstone1/NeuralNetwork
A modern C++ neural network library built from scratch — modular, fast, and... |
|
Experimental |
| 88 |
clay-arras/lamppp
lamp++💡 fast and lightweight machine learning framework in cpp, supporting... |
|
Experimental |
| 89 |
diegofps/wup
Fast Weightless Neural Networks implemented in C++ 🏇🏇🏇 |
|
Experimental |
| 90 |
dongyx/lnn
A Command-Line Program of Feedforward Neural Networks |
|
Experimental |
| 91 |
takara-ai/SwarmFormer-C
Full C implementation of the SwarmFormer model architecture. |
|
Experimental |
| 92 |
MannCode/Mann_NeuralNetwork
Handcrafted C++ neural network engine with manual math and training logic,... |
|
Experimental |
| 93 |
Gopal-Dahale/hpmoCNN
High-Performance Memory Optimal CNN |
|
Experimental |
| 94 |
Jens01/NewDann
RPROP Neural Network with Delphi |
|
Experimental |
| 95 |
GGasset/CudaNeatNetwork
Neural Network framework made from scratch in CUDA/C++ |
|
Experimental |
| 96 |
unipr-org/deep-neural-network
Deep Neural Network Library: A flexible C++ library for building, training,... |
|
Experimental |
| 97 |
kripxera1/MNIST-GAN-CPP
A MNIST GAN implemented from scratch in C++ |
|
Experimental |
| 98 |
IltonPfleger/NeuroPulse
A small and modular Neural Networks library for C programs |
|
Experimental |
| 99 |
Az-r-ow/NeuralNet
A Neural Network in cpp |
|
Experimental |
| 100 |
baimamboukar/neural-networks-in-cpp
From scratch implementation of Neural Networks (MLPs) In C++ |
|
Experimental |
| 101 |
NTDLS/NTDLS.Determinet
Determinet is versatile multilayer perception neural network designed for... |
|
Experimental |
| 102 |
Immortale-dev/NerOne
Low level C++ neural network engine. The engine provides a huge flexibility... |
|
Experimental |
| 103 |
QuanTran6309/NeuralNet
A machine learning library C++ |
|
Experimental |
| 104 |
christopher-besch/neural_network
Experimental C++ Deep-Learning Framework. |
|
Experimental |
| 105 |
Schryzon/Neuro-CPP
Syntax Semantic Sentience. |
|
Experimental |
| 106 |
karanrobo/ML-Library-in-C
A library for training MLP models, written in pure C. |
|
Experimental |
| 107 |
jmaczan/curiosity
Low-level deep learning concepts from scratch |
|
Experimental |
| 108 |
4imothy/clear_net
A framework for the creation and training of vanilla and convolutional... |
|
Experimental |
| 109 |
inclinedadarsh/logistic-regression-c
This is my attempt to do logistic regression the deep learning way in C language. |
|
Experimental |
| 110 |
nthnn/chisei
A lightweight, efficient, and user-friendly C++ library for creating,... |
|
Experimental |
| 111 |
emsar69/MNIST-AI-Without-External-AI-Libraries
A pure C++ implementation of an MNIST digit classifier without using... |
|
Experimental |
| 112 |
Phoenix8215/build_neural_network_from_scratch_CPP
Created a simple neural network using C++17 standard and the Eigen library... |
|
Experimental |
| 113 |
Enerhim/neuralnetworkc
A neural network written in C for classification & regression |
|
Experimental |
| 114 |
Mgepahmge/NeuZephyr
A simple C++ deep learning framework |
|
Experimental |
| 115 |
yatorho/CHIME
A Deep Learning Framework |
|
Experimental |
| 116 |
Jaswar/nnlib
GPU-accelerated, C/C++ neural network library. |
|
Experimental |
| 117 |
JiauZhang/nnops
Neural Network Operators |
|
Experimental |
| 118 |
git-user-cpp/neural_real_estate_appraisal_calculator
:robot: Neural real estate appraisal calculator is implemented in C... |
|
Experimental |
| 119 |
FahdSeddik/FeedForward-NeuralNetwork-from-scratch
This is a Feed-Forward Neural Network with back-propagation written in C++... |
|
Experimental |
| 120 |
usamahz/cnn
A simple CNN in C from scratch |
|
Experimental |
| 121 |
ANSHAM1/LSTMiniNet
LSTM gate implementation of RNN, demonstrates building deep sequence models... |
|
Experimental |
| 122 |
ANSHAM1/ScratchRNNilla
ScratchRNNilla is a fully handwritten Vanilla RNN regression model framework... |
|
Experimental |
| 123 |
ANSHAM1/ScratchANNet
scratchANNet is a minimalist deep learning framework written entirely from... |
|
Experimental |
| 124 |
Ilya-sss/Machine-Learning-Logic-Gates-C
A lightweight neural network in C that learns logic gates (AND, OR, XOR,... |
|
Experimental |
| 125 |
b-ionut-r/NeuroCore
CUDA-first C++ deep learning framework with custom NDArray, Tensor autograd,... |
|
Experimental |
| 126 |
Tompil3r/laruen
Easy to use C++ library for deep learning and multi-dimensional computations |
|
Experimental |
| 127 |
CMaybe/VanillaDNN
Dependency-free DNN framework with C++ |
|
Experimental |
| 128 |
lchdl/Breeze
A super light-weight CPU deep learning framework with no external dependency. |
|
Experimental |
| 129 |
pablodrake/Deep-Paquito
A simple neuralnetwork framework (he a little small uWu) |
|
Experimental |
| 130 |
warg-void/Wolf
C++ Neural net Implementation (CPU) |
|
Experimental |
| 131 |
Rocky111245/Flux-A-Custom-Educational-Deep-Learning-Framework
This neural network framework, built entirely from scratch in C++, offers a... |
|
Experimental |
| 132 |
Phoenix8215/BuildCudaNeuralNetworkFromScratch
Build CUDA Neural Network From Scratch |
|
Experimental |
| 133 |
udthegooner/neuralnet-cpp-cuda
A modular Deep Learning library in C++ and CUDA. Implements full... |
|
Experimental |
| 134 |
sokmontrey/nodeflow
A simple and highly extensible Computational graph library written in C++... |
|
Experimental |
| 135 |
Mike7831/Yet-Another-Neural-Network-Library
Neural network library in C++ |
|
Experimental |
| 136 |
UniquePython/cognition
A high-performance, C-native tensor and machine learning library for... |
|
Experimental |
| 137 |
raphaelsenn/neural-network-autograd-cpp
A simple feed forward neural network (with autograd capabilities) in C++ (no... |
|
Experimental |
| 138 |
harrypaas1/fast-neural-network
fast, easy to use c++ neural network for arff files |
|
Experimental |
| 139 |
Astrodynamic/MultilayerPerceptron-in-Qt-CPP
MultilayerPerceptron Project is a C++ implementation of a multilayer... |
|
Experimental |
| 140 |
AndrewDarnall/DeepLearning4All
Pet project to fall in love with C++ again |
|
Experimental |
| 141 |
BinAl-Sadiq/stochastic-gradient-descent
Very simple c++ DNN implementation that uses the stochastic gradient descent... |
|
Experimental |
| 142 |
K-T0BIAS/Spline-based-DeepLearning
Library for Splines Based Alternatives to Neural Networks |
|
Experimental |
| 143 |
yadavsidhant/easycnn
EasyCNN: A library to create, train, and use custom CNN models with ease. |
|
Experimental |
| 144 |
patztablook22/nanuk
Basic Deep Learning library written in C++ |
|
Experimental |
| 145 |
research-note/deep-learning-from-scratch-using-modern-cpp
『밑바닥부터 시작하는 딥러닝』(한빛미디어, 2017), 『Deep Learning From Scratch』 (Hanbit media),... |
|
Experimental |
| 146 |
david-alvarez-rosa/neural-network
Implementation of a (fully connected) Neural Network from scratch in C++. |
|
Experimental |
| 147 |
tingkuanpei/ugraph
Deep Learning Framework |
|
Experimental |
| 148 |
nabla27/NeuralNet32
Simple Neural Network. |
|
Experimental |
| 149 |
crakesh27/CNN-CPP
Modular implementation of CNN in C++. Extensible by inheriting existing... |
|
Experimental |
| 150 |
TomasVenkrbec/Cpp_MNIST_CNN
An implementation of deep learning framework in C++, without the use of any... |
|
Experimental |
| 151 |
LowLevelML/C-simple-neural-network
A basic and simple neural network written in C. It uses perceptron... |
|
Experimental |
| 152 |
KenKenhehe/Wheel-DeeplearningFramework
A deep learning framework made from scratch using C++ and the Eigen library |
|
Experimental |
| 153 |
zroe1/neural-network-from-scratch
This repository contains a fully-functional neural network implemented using... |
|
Experimental |
| 154 |
iWas-Coder/guanaco
A simple, uncomplicated, multilayered Neural Network framework written in pure C. |
|
Experimental |
| 155 |
sopho-s/NN
A basic C++ neural network |
|
Experimental |
| 156 |
ANDRVV/neuralnet
🤖 A sketch for deep neural network |
|
Experimental |