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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow frugally-deep

frugally-deep Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of frugally-deep!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2024-05-27