Tensorflow load graph c++ 示例中要包含哪个 headers?

Which headers to include in Tensorflow load graph c++ example?

Tensorflow 的 c++ API 看起来很简单,但我无法弄清楚 运行 他们页面上显示的示例需要哪些 header 文件: https://www.tensorflow.org/versions/r0.7/api_docs/cc/index.html

如果我让它工作,这个 API 是否允许我使用我在 Python 中构建的神经网络进行分类?

对于 headers 我会假设其中的一些子集:

#include "tensorflow/cc/ops/standard_ops.h"
#include "tensorflow/core/framework/graph.pb.h"
#include "tensorflow/core/framework/tensor.h"
#include "tensorflow/core/graph/default_device.h"
#include "tensorflow/core/graph/graph_def_builder.h"
#include "tensorflow/core/lib/core/threadpool.h"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/init_main.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/types.h"
#include "tensorflow/core/public/session.h"

来自https://github.com/tensorflow/tensorflow/blob/master/tensorflow/cc/tutorials/example_trainer.cc