diff options
author | Geoffrey Irving <geoffreyi@google.com> | 2017-06-29 11:44:13 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-06-29 11:48:10 -0700 |
commit | e85d3df92deb9d717befdf173966a2913ac2aea0 (patch) | |
tree | 1c9e80f85c965e039121d8591daab95c62fe7041 /tensorflow/core/framework/graph_def_util.h | |
parent | 9b11f458196f6f0528c9974238497a6c8b6da547 (diff) |
Prepare to remove a bunch of proto.h includes from tensorflow/core headers
The goal is to make kernels mostly independent of proto headers, which will let
us lock down our .so imports. This CL does not remove any actual headers, but
changes a bunch of files so that header removal is possible in a followup CL.
It also marks the headers that will be removed with
// TODO(b/62899350): Remove
RELNOTES: n/a
PiperOrigin-RevId: 160552878
Diffstat (limited to 'tensorflow/core/framework/graph_def_util.h')
-rw-r--r-- | tensorflow/core/framework/graph_def_util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/core/framework/graph_def_util.h b/tensorflow/core/framework/graph_def_util.h index 950737c39a..838c9fd4ce 100644 --- a/tensorflow/core/framework/graph_def_util.h +++ b/tensorflow/core/framework/graph_def_util.h @@ -17,13 +17,15 @@ limitations under the License. #define TENSORFLOW_FRAMEWORK_GRAPH_DEF_UTIL_H_ #include <set> - -#include "tensorflow/core/framework/graph.pb.h" +#include "tensorflow/core/framework/graph.pb.h" // TODO(b/62899350): Remove #include "tensorflow/core/framework/op.h" #include "tensorflow/core/lib/core/status.h" namespace tensorflow { +// Forward declare proto so that it's symbols can be removed from .so exports +class GraphDef; + // Produce a human-readable version of a GraphDef that is more concise // than a text-format proto. string SummarizeGraphDef(const GraphDef& graph_def); |