問題描述
我真的很想開始在 C++ 中使用 Google 的新 Tensorflow 庫.網(wǎng)站和文檔在如何構(gòu)建項(xiàng)目的 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.
有更多經(jīng)驗(yàn)的人可以通過發(fā)現(xiàn)和分享使用 tensorflow 的 C++ API 的指南來提供幫助嗎?
Can someone with more experience help by discovering and sharing a guide to using tensorflow's C++ API?
推薦答案
我發(fā)現(xiàn)的一種使用 Tensorflow C++ API 的替代方法是使用 cppflow.
One alternative to using Tensorflow C++ API I found is to use cppflow.
它是圍繞 Tensorflow C API 的輕量級 C++ 包裝器.你得到非常小的可執(zhí)行文件,它鏈接到 libtensorflow.so
已經(jīng)編譯的文件.還有一些使用示例,您可以使用 CMAKE 而不是 Bazel.
It's a lightweight C++ wrapper around Tensorflow C API. You get very small executables and it links against the libtensorflow.so
already compiled file. There are also examples of use and you use CMAKE instead of Bazel.
這篇關(guān)于如何構(gòu)建和使用 Google TensorFlow C++ api的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!