How to build and use Google TensorFlow C++ api


I’m really eager to start using Google’s new Tensorflow library in C++. The website and docs are just really unclear in terms of how to build the project’s C++ API and I don’t know where to start.

Can someone with more experience help by discovering and sharing a guide to using tensorflow’s C++ API?


One alternative to using Tensorflow C++ API I found is to use cppflow.

It’s a lightweight C++ wrapper around Tensorflow C API. You get very small executables and it links against the already compiled file. There are also examples of use and you use CMAKE instead of Bazel.

Answered By – Bersan

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published