[P] libtensorflow_cc: Pre-built TensorFlow C++ API

This page summarizes the projects mentioned and recommended in the original post on /r/MachineLearning

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • tensorflow_cpp

    Helpful model wrappers around TensorFlow C++ API

  • Looks like tfcompile still exists, but I have never used it myself. Doesn't look to be much better documented than the C++ API itself. The full C++ API of course gives you way more flexibility and doesn't involve this special process of compiling a specific model. We have been pretty happy with our additional wrapper library tensorflow_cpp, allowing us to easily load arbitrary frozen graphs and saved models for inference.

  • libtensorflow_cc

    Pre-built libtensorflow_cc.so and Docker Images for TensorFlow C++ API

  • git clone https://github.com/ika-rwth-aachen/libtensorflow_cc.git && \ cd libtensorflow_cc && \ docker run --rm \ --volume $(pwd)/example:/example \ --workdir /example \ rwthika/tensorflow-cc:latest \ ./build-and-run.sh

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • tensorflow

    An Open Source Machine Learning Framework for Everyone

  • See for example: https://github.com/tensorflow/tensorflow/issues/41904

  • cppflow

    Run TensorFlow models in C++ without installation and without Bazel

  • It’s been awhile since I’ve looked at it, so not sure how hard it would be to get to work. I only commented since you mentioned that you would support other operating systems. For others interested in cross platform support there is also cppflow.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts