如何在VS2015中使用libtensorflow.so(在Windows 10上使用bazel构建tensorflow)?

时间:2018-10-03 09:58:40

标签: windows tensorflow build bazel

我看着guide 我执行命令“ bazel build --config = opt //tensorflow:libtensorflow.so”,然后成功构建libtensorflow.so。 img1 img2

然后我在VS 2015中使用了tensorflow \ bazel-bin \ tensorflow \ libtensorflow.so.if.lib。而且有错误。

error LNK2001: 无法解析的外部符号 "private: void __cdecl tensorflow::Tensor::CopyFromInternal(class tensorflow::Tensor const &,class tensorflow::TensorShape const &)" (?CopyFromInternal@Tensor@tensorflow@@AEAAXAEBV12@AEBVTensorShape@2@@Z)

有人知道如何使用libtensorflow_cc.so吗?

0 个答案:

没有答案