OpenNN is a high-performance C++ library for building, training and deploying neural networks on CPUs and NVIDIA GPUs. It focuses on execution speed and memory efficiency.

It supports dense networks, LSTM, convolutional neural networks (CNNs) and Transformers for tabular data, time series, computer vision and natural language processing. Models and examples include YOLO for object detection, ResNet, BERT, GPT-2 and Qwen3.

Optimizations include CUDA acceleration, mixed precision and reusable memory buffers. Published benchmarks compare training, inference and memory usage with PyTorch under documented conditions: https://www.opennn.net/benchmarks/

Documentation, tutorials and examples: https://www.opennn.net/documentation/
Source code: https://github.com/Artelnics/opennn

Developed by Artelnics: https://www.artelnics.com/

Neural Designer uses OpenNN as its neural network engine: https://www.neuraldesigner.com/

Features

  • High-performance C++ with CPU and NVIDIA CUDA GPU support
  • Dense networks, LSTM, CNNs and Transformers
  • YOLO object detection; ResNet, BERT, GPT-2 and Qwen3 models
  • Tabular data, time series, computer vision and natural language processing

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow OpenNN - Open Neural Networks Library

OpenNN - Open Neural Networks Library Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. Developers get access to both Gemini and third-party models.
Get started
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
6
0
0
2
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • 5 out of 5 stars
    OpenNN is an advanced open source class library which implements neural networks. This library has been developed in C++ programming language so that, it has better memory management and higher processing speed. It is really recommended. I have used it for different type of projects and it has generated successfully models.
  • 5 out of 5 stars
    Excellent C++ library for designing neural networks for different type of problems. It also has a large amount for preproccesing the data and testing the methods.
  • 5 out of 5 stars
    Great library to perform every desired action with neural networks. It has a good design and a perfect flexibility and generality to create the model that each problem requires. Nice new version solving some bugs and improving the documentation.
  • 2 out of 5 stars
    Just started using OpenNN. I like the design of the library, but implementation of the API leaves something to be desired, as there is complete and utter confusion over whether ownership of objects being passed in and returned passes with the object or remains behind. It has cost me a lot of time burrowing through the source to figure out what it is in each case, and hence fix up the crashes you get when you get it wrong. Why do people code C++ this way? Did they cut their teeth on Java or some other gaebage collected language where every object is owned by the system? I'm happy to fix the API, or at least document it to make it usable, but it seems the code published on github lags the released 3.0 version available on SF FRS. Is this some guys private code repository?
  • 2 out of 5 stars
    No usable documentation available, just a few examples and you need to understand on your own how to use it. There are some other libs around that are a lot better, at least for my use.
Read more reviews >

Additional Project Details

Intended Audience

Advanced End Users, Developers, Science/Research, Testers

Programming Language

C++

Database Environment

Flat-file

Related Categories

C++ Scientific Engineering, C++ Artificial Intelligence Software, C++ Machine Learning Software, C++ Computer Vision Libraries, C++ Natural Language Processing (NLP) Tool

Registered

2006-02-12