【发布时间】:2017-11-02 20:16:55
【问题描述】:
我按照指令here 的每一点构建了张量流。
使用 VS2015 x64 的构建看起来不错,但是在编译 tensorflow\examples\label_image 示例时出现很多错误:
\tensorflow\third_party\eigen3\unsupported\eigen\cxx11\tensor(1): fatal error C1014: too many include files: depth = 1024
用a #pragma once 修复它,然后我得到了这个(还有很多类似的)
template <>
struct NumTraits<QInt8> : GenericNumTraits<int8_t> {};
给出这个错误:
\tensorflow\third_party\eigen3\unsupported\eigen\cxx11\src\fixedpoint\fixedpointtypes.h(27): error C2988: unrecognizable template declaration/definition
我也错过了文件
#include "tensorflow/cc/ops/image_ops.h"
是否有人成功构建(并链接...)此示例?
【问题讨论】:
标签: c++ windows tensorflow