diff options
author | 2018-08-21 16:19:02 -0700 | |
---|---|---|
committer | 2018-08-21 16:22:05 -0700 | |
commit | 7817237d5852c7778d3ba03c40f139e6f2c37a76 (patch) | |
tree | 1f8591088b0fee3efe3ec4f79953ebf94fb1890d /tensorflow/core/graph | |
parent | 62fcb03449c13281935a154e3ea7c11614ffb678 (diff) |
fix C++ header guards.
PiperOrigin-RevId: 209679086
Diffstat (limited to 'tensorflow/core/graph')
-rw-r--r-- | tensorflow/core/graph/algorithm.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/colors.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/control_flow.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/costmodel.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/default_device.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/graph_constructor.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/graph_def_builder.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/graph_partition.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/mkl_layout_pass.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/node_builder.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/optimizer_cse.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/quantize_training.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/subgraph.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/testlib.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/types.h | 6 | ||||
-rw-r--r-- | tensorflow/core/graph/while_context.h | 6 |
16 files changed, 48 insertions, 48 deletions
diff --git a/tensorflow/core/graph/algorithm.h b/tensorflow/core/graph/algorithm.h index 5bbbc6f6dc..45f8a29a92 100644 --- a/tensorflow/core/graph/algorithm.h +++ b/tensorflow/core/graph/algorithm.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_ALGORITHM_H_ -#define TENSORFLOW_GRAPH_ALGORITHM_H_ +#ifndef TENSORFLOW_CORE_GRAPH_ALGORITHM_H_ +#define TENSORFLOW_CORE_GRAPH_ALGORITHM_H_ #include <functional> #include <unordered_set> @@ -117,4 +117,4 @@ bool FixupSourceAndSinkEdges(Graph* g); } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_ALGORITHM_H_ +#endif // TENSORFLOW_CORE_GRAPH_ALGORITHM_H_ diff --git a/tensorflow/core/graph/colors.h b/tensorflow/core/graph/colors.h index c1e1940cac..43d2225571 100644 --- a/tensorflow/core/graph/colors.h +++ b/tensorflow/core/graph/colors.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_COLORS_H_ -#define TENSORFLOW_GRAPH_COLORS_H_ +#ifndef TENSORFLOW_CORE_GRAPH_COLORS_H_ +#define TENSORFLOW_CORE_GRAPH_COLORS_H_ namespace tensorflow { @@ -26,4 +26,4 @@ const char* ColorFor(int dindex); } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_COLORS_H_ +#endif // TENSORFLOW_CORE_GRAPH_COLORS_H_ diff --git a/tensorflow/core/graph/control_flow.h b/tensorflow/core/graph/control_flow.h index 548820720b..5abe77f5a1 100644 --- a/tensorflow/core/graph/control_flow.h +++ b/tensorflow/core/graph/control_flow.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_CONTROL_FLOW_H_ -#define TENSORFLOW_GRAPH_CONTROL_FLOW_H_ +#ifndef TENSORFLOW_CORE_GRAPH_CONTROL_FLOW_H_ +#define TENSORFLOW_CORE_GRAPH_CONTROL_FLOW_H_ #include <vector> @@ -48,4 +48,4 @@ Status BuildControlFlowInfo(const Graph* g, std::vector<ControlFlowInfo>* info, } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_CONTROL_FLOW_H_ +#endif // TENSORFLOW_CORE_GRAPH_CONTROL_FLOW_H_ diff --git a/tensorflow/core/graph/costmodel.h b/tensorflow/core/graph/costmodel.h index 9b703e4693..2d94dd5cdc 100644 --- a/tensorflow/core/graph/costmodel.h +++ b/tensorflow/core/graph/costmodel.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_COSTMODEL_H_ -#define TENSORFLOW_GRAPH_COSTMODEL_H_ +#ifndef TENSORFLOW_CORE_GRAPH_COSTMODEL_H_ +#define TENSORFLOW_CORE_GRAPH_COSTMODEL_H_ #include <unordered_map> #include <vector> @@ -229,4 +229,4 @@ class CostModel { } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_COSTMODEL_H_ +#endif // TENSORFLOW_CORE_GRAPH_COSTMODEL_H_ diff --git a/tensorflow/core/graph/default_device.h b/tensorflow/core/graph/default_device.h index 68d7c8e553..f0f53c91f4 100644 --- a/tensorflow/core/graph/default_device.h +++ b/tensorflow/core/graph/default_device.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_DEFAULT_DEVICE_H_ -#define TENSORFLOW_GRAPH_DEFAULT_DEVICE_H_ +#ifndef TENSORFLOW_CORE_GRAPH_DEFAULT_DEVICE_H_ +#define TENSORFLOW_CORE_GRAPH_DEFAULT_DEVICE_H_ #include <string> @@ -38,4 +38,4 @@ inline void SetDefaultDevice(const string& device, GraphDef* graph_def) { } // namespace graph } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_DEFAULT_DEVICE_H_ +#endif // TENSORFLOW_CORE_GRAPH_DEFAULT_DEVICE_H_ diff --git a/tensorflow/core/graph/graph_constructor.h b/tensorflow/core/graph/graph_constructor.h index 889359a68a..f6e41faf9c 100644 --- a/tensorflow/core/graph/graph_constructor.h +++ b/tensorflow/core/graph/graph_constructor.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_GRAPH_CONSTRUCTOR_H_ -#define TENSORFLOW_GRAPH_GRAPH_CONSTRUCTOR_H_ +#ifndef TENSORFLOW_CORE_GRAPH_GRAPH_CONSTRUCTOR_H_ +#define TENSORFLOW_CORE_GRAPH_GRAPH_CONSTRUCTOR_H_ #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/graph/graph.h" @@ -186,4 +186,4 @@ extern void CopyGraph(const Graph& src, Graph* dest); } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_GRAPH_CONSTRUCTOR_H_ +#endif // TENSORFLOW_CORE_GRAPH_GRAPH_CONSTRUCTOR_H_ diff --git a/tensorflow/core/graph/graph_def_builder.h b/tensorflow/core/graph/graph_def_builder.h index 0d6aae4355..ec131580ae 100644 --- a/tensorflow/core/graph/graph_def_builder.h +++ b/tensorflow/core/graph/graph_def_builder.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_GRAPH_DEF_BUILDER_H_ -#define TENSORFLOW_GRAPH_GRAPH_DEF_BUILDER_H_ +#ifndef TENSORFLOW_CORE_GRAPH_GRAPH_DEF_BUILDER_H_ +#define TENSORFLOW_CORE_GRAPH_GRAPH_DEF_BUILDER_H_ #include <vector> #include "tensorflow/core/framework/graph.pb.h" @@ -203,4 +203,4 @@ Node* BinaryOp(const string& op_name, NodeOut a, NodeOut b, } // namespace ops } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_GRAPH_DEF_BUILDER_H_ +#endif // TENSORFLOW_CORE_GRAPH_GRAPH_DEF_BUILDER_H_ diff --git a/tensorflow/core/graph/graph_partition.h b/tensorflow/core/graph/graph_partition.h index 67fafddd51..8020c2d247 100644 --- a/tensorflow/core/graph/graph_partition.h +++ b/tensorflow/core/graph/graph_partition.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_GRAPH_PARTITION_H_ -#define TENSORFLOW_GRAPH_GRAPH_PARTITION_H_ +#ifndef TENSORFLOW_CORE_GRAPH_GRAPH_PARTITION_H_ +#define TENSORFLOW_CORE_GRAPH_GRAPH_PARTITION_H_ #include <functional> #include <string> @@ -95,4 +95,4 @@ Status AddControlEdges(const PartitionOptions& opts, } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_GRAPH_PARTITION_H_ +#endif // TENSORFLOW_CORE_GRAPH_GRAPH_PARTITION_H_ diff --git a/tensorflow/core/graph/mkl_layout_pass.h b/tensorflow/core/graph/mkl_layout_pass.h index ffe5c1ecfc..e7175149df 100644 --- a/tensorflow/core/graph/mkl_layout_pass.h +++ b/tensorflow/core/graph/mkl_layout_pass.h @@ -15,8 +15,8 @@ limitations under the License. // A graph pass that rewrites graph for propagating MKL layout as a tensor -#ifndef TENSORFLOW_GRAPH_MKL_LAYOUT_PASS_H_ -#define TENSORFLOW_GRAPH_MKL_LAYOUT_PASS_H_ +#ifndef TENSORFLOW_CORE_GRAPH_MKL_LAYOUT_PASS_H_ +#define TENSORFLOW_CORE_GRAPH_MKL_LAYOUT_PASS_H_ #ifdef INTEL_MKL @@ -33,4 +33,4 @@ extern bool RunMklLayoutRewritePass(std::unique_ptr<Graph>* g); #endif -#endif // TENSORFLOW_GRAPH_MKL_LAYOUT_PASS_H_ +#endif // TENSORFLOW_CORE_GRAPH_MKL_LAYOUT_PASS_H_ diff --git a/tensorflow/core/graph/node_builder.h b/tensorflow/core/graph/node_builder.h index f6b7b5674b..4727ee7b56 100644 --- a/tensorflow/core/graph/node_builder.h +++ b/tensorflow/core/graph/node_builder.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_NODE_BUILDER_H_ -#define TENSORFLOW_GRAPH_NODE_BUILDER_H_ +#ifndef TENSORFLOW_CORE_GRAPH_NODE_BUILDER_H_ +#define TENSORFLOW_CORE_GRAPH_NODE_BUILDER_H_ #include <vector> #include "tensorflow/core/framework/node_def_builder.h" @@ -160,4 +160,4 @@ NodeBuilder& NodeBuilder::Attr(StringPiece attr_name, } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_NODE_BUILDER_H_ +#endif // TENSORFLOW_CORE_GRAPH_NODE_BUILDER_H_ diff --git a/tensorflow/core/graph/optimizer_cse.h b/tensorflow/core/graph/optimizer_cse.h index b8f3230c70..ef466fb788 100644 --- a/tensorflow/core/graph/optimizer_cse.h +++ b/tensorflow/core/graph/optimizer_cse.h @@ -15,8 +15,8 @@ limitations under the License. // An optimization pass that performs common subexpression elimination. -#ifndef TENSORFLOW_GRAPH_OPTIMIZER_CSE_H_ -#define TENSORFLOW_GRAPH_OPTIMIZER_CSE_H_ +#ifndef TENSORFLOW_CORE_GRAPH_OPTIMIZER_CSE_H_ +#define TENSORFLOW_CORE_GRAPH_OPTIMIZER_CSE_H_ #include <sys/types.h> #include "tensorflow/core/graph/graph.h" @@ -34,4 +34,4 @@ extern bool OptimizeCSE(Graph* g, } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_OPTIMIZER_CSE_H_ +#endif // TENSORFLOW_CORE_GRAPH_OPTIMIZER_CSE_H_ diff --git a/tensorflow/core/graph/quantize_training.h b/tensorflow/core/graph/quantize_training.h index 2bb4ee1cf0..dc3d7e3b1f 100644 --- a/tensorflow/core/graph/quantize_training.h +++ b/tensorflow/core/graph/quantize_training.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_QUANTIZE_TRAINING_H_ -#define TENSORFLOW_GRAPH_QUANTIZE_TRAINING_H_ +#ifndef TENSORFLOW_CORE_GRAPH_QUANTIZE_TRAINING_H_ +#define TENSORFLOW_CORE_GRAPH_QUANTIZE_TRAINING_H_ #include "tensorflow/core/graph/graph.h" @@ -53,4 +53,4 @@ Status DoQuantizeTrainingOnGraphDef(const GraphDef& input_graphdef, } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_QUANTIZE_TRAINING_H_ +#endif // TENSORFLOW_CORE_GRAPH_QUANTIZE_TRAINING_H_ diff --git a/tensorflow/core/graph/subgraph.h b/tensorflow/core/graph/subgraph.h index ba35846d93..3e99ff0c8c 100644 --- a/tensorflow/core/graph/subgraph.h +++ b/tensorflow/core/graph/subgraph.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_SUBGRAPH_H_ -#define TENSORFLOW_GRAPH_SUBGRAPH_H_ +#ifndef TENSORFLOW_CORE_GRAPH_SUBGRAPH_H_ +#define TENSORFLOW_CORE_GRAPH_SUBGRAPH_H_ #include <string> @@ -162,4 +162,4 @@ class SendFetchRewrite : public PruneRewrite { } // namespace subgraph } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_SUBGRAPH_H_ +#endif // TENSORFLOW_CORE_GRAPH_SUBGRAPH_H_ diff --git a/tensorflow/core/graph/testlib.h b/tensorflow/core/graph/testlib.h index eb9038d619..8585b35a19 100644 --- a/tensorflow/core/graph/testlib.h +++ b/tensorflow/core/graph/testlib.h @@ -15,8 +15,8 @@ limitations under the License. // DEPRECATED: Use the C++ API defined in tensorflow/cc instead. -#ifndef TENSORFLOW_GRAPH_TESTLIB_H_ -#define TENSORFLOW_GRAPH_TESTLIB_H_ +#ifndef TENSORFLOW_CORE_GRAPH_TESTLIB_H_ +#define TENSORFLOW_CORE_GRAPH_TESTLIB_H_ #include <string> #include <vector> @@ -213,4 +213,4 @@ Node* DiagPart(Graph* g, Node* in, DataType type); } // end namespace test } // end namespace tensorflow -#endif // TENSORFLOW_GRAPH_TESTLIB_H_ +#endif // TENSORFLOW_CORE_GRAPH_TESTLIB_H_ diff --git a/tensorflow/core/graph/types.h b/tensorflow/core/graph/types.h index c707809927..ac5a7f8229 100644 --- a/tensorflow/core/graph/types.h +++ b/tensorflow/core/graph/types.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_TYPES_H_ -#define TENSORFLOW_GRAPH_TYPES_H_ +#ifndef TENSORFLOW_CORE_GRAPH_TYPES_H_ +#define TENSORFLOW_CORE_GRAPH_TYPES_H_ #include "tensorflow/core/lib/gtl/int_type.h" #include "tensorflow/core/platform/types.h" @@ -32,4 +32,4 @@ TF_LIB_GTL_DEFINE_INT_TYPE(Bytes, int64); } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_TYPES_H_ +#endif // TENSORFLOW_CORE_GRAPH_TYPES_H_ diff --git a/tensorflow/core/graph/while_context.h b/tensorflow/core/graph/while_context.h index 2a83eb7bd8..5405e62be2 100644 --- a/tensorflow/core/graph/while_context.h +++ b/tensorflow/core/graph/while_context.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_GRAPH_WHILE_CONTEXT_H_ -#define TENSORFLOW_GRAPH_WHILE_CONTEXT_H_ +#ifndef TENSORFLOW_CORE_GRAPH_WHILE_CONTEXT_H_ +#define TENSORFLOW_CORE_GRAPH_WHILE_CONTEXT_H_ #include "tensorflow/core/graph/graph.h" @@ -73,4 +73,4 @@ class WhileContext { } // namespace tensorflow -#endif // TENSORFLOW_GRAPH_GRAPH_H_ +#endif // TENSORFLOW_CORE_GRAPH_WHILE_CONTEXT_H_ |