c++ - 在 TensorFlow 存储库之外构建 TensorFlow C++ 项目?

标签 c++ compilation tensorflow

所以我安装了 Tensorflow as described here . One of the answers提到该项目必须在克隆的本地 TensorFlow 存储库中。有没有办法让项目在 repo 之外?

最佳答案

据我所知,没有正式的方法可以在 TF 存储库之外构建您的代码。但是,您可以使用 tensorflow_cc项目,为您构建和安装 TF C++ 库,并提供方便的 CMake 目标以及所有必要的 header 和链接参数。

关于c++ - 在 TensorFlow 存储库之外构建 TensorFlow C++ 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38952010/

相关文章:

c++ - 如何计算16bit到8bit的量化误差?

multithreading - 与启用线程的 Perl 相比,为什么非线程 Perl 不使用 off64_t 类型?

c++ - Windows 7 上的 Emacs 构建过程

c# - C#如何将一个程序编译成不同的项目

tensorflow - 带条件的 LSTM

python - tensorpack 安装失败

javascript - -nan 在 C++ 中是什么意思?为什么 pow(-4, -2.1) 返回 -nan?

c++ - 容器有重新绑定(bind)吗?

python - Blas GEMV 发射失败 : m=3, n=2 [Op:MatMul]

c++ - GCC 建立链接问题