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

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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