Use Keras models in C++ with ease. A lightweight header-only library for using Keras (TensorFlow) models in C++. Works out-of-the-box also when compiled into a 32-bit executable. (Of course, 64 bit is fine too.) Avoids temporarily allocating (potentially large chunks of) additional RAM during convolutions (by not materializing the im2col input matrix). Utterly ignores even the most powerful GPU in your system and uses only one CPU core per prediction. Quite fast on one CPU core, and you can run multiple predictions in parallel, thus utilizing as many CPUs as you like to improve the overall prediction throughput of your application/pipeline.
Features
- Is a small header-only library written in modern and pure C++
- Very easy to integrate and use
- Depends only on FunctionalPlus, Eigen and json - also header-only libraries
- Supports inference (model.predict) not only for sequential models but also for computational graphs with a more complex topology, created with the functional API
- Re-implements a (small) subset of TensorFlow, i.e., the operations needed to support prediction
- Results in a much smaller binary size than linking against TensorFlow
Categories
LibrariesLicense
MIT LicenseFollow frugally-deep
Other Useful Business Software
Build Securely on Azure with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of frugally-deep!