Format header guards under tensorflow/core/grappler.
PiperOrigin-RevId: 194387041
This commit is contained in:
parent
481f229881
commit
4eac28aa45
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
#define TENSORFLOW_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
@ -127,4 +127,4 @@ class Cluster {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_CLUSTERS_CLUSTER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
#define TENSORFLOW_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
|
||||
#include "tensorflow/cc/training/coordinator.h"
|
||||
#include "tensorflow/core/framework/allocator.h"
|
||||
@ -85,4 +85,4 @@ class SingleMachine : public Cluster {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_CLUSTERS_SINGLE_MACHINE_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
#define TENSORFLOW_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
|
||||
#include "tensorflow/core/common_runtime/gpu/gpu_id.h"
|
||||
#include "tensorflow/core/protobuf/device_properties.pb.h"
|
||||
@ -36,4 +36,4 @@ DeviceProperties GetDeviceInfo(const DeviceNameUtils::ParsedName& device);
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_CLUSTERS_UTILS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
#define TENSORFLOW_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include "tensorflow/core/grappler/clusters/cluster.h"
|
||||
@ -53,4 +53,4 @@ class VirtualCluster : public Cluster {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_CLUSTERS_VIRTUAL_CLUSTER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
|
||||
#include <chrono>
|
||||
#include <unordered_map>
|
||||
@ -180,4 +180,4 @@ class CostEstimator {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_COST_ESTIMATOR_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
|
||||
#include "tensorflow/core/framework/node_def.pb.h"
|
||||
#include "tensorflow/core/grappler/clusters/cluster.h"
|
||||
@ -78,4 +78,4 @@ class GraphMemory {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_MEMORY_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
@ -125,4 +125,4 @@ class GraphProperties {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_GRAPH_PROPERTIES_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
@ -73,4 +73,4 @@ class MeasuringCostEstimator : public CostEstimator {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_MEASURING_COST_ESTIMATOR_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
|
||||
#include <vector>
|
||||
namespace tensorflow {
|
||||
@ -39,4 +39,4 @@ class RobustStats {
|
||||
} // namespace grappler
|
||||
} // namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_ROBUST_STATS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_COSTS_UTILS_H_
|
||||
#define TENSORFLOW_GRAPPLER_COSTS_UTILS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_COSTS_UTILS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_COSTS_UTILS_H_
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
@ -111,4 +111,4 @@ string GetStatsStringFromRunMetadata(const RunMetadata& run_metadata,
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_COSTS_UTILS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_COSTS_UTILS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_DEVICES_H_
|
||||
#define TENSORFLOW_GRAPPLER_DEVICES_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_DEVICES_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_DEVICES_H_
|
||||
|
||||
#include <functional>
|
||||
|
||||
@ -39,4 +39,4 @@ int GetNumAvailableLogicalCPUCores();
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_DEVICES_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_DEVICES_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_GRAPH_VIEW_H_
|
||||
#define TENSORFLOW_GRAPPLER_GRAPH_VIEW_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_GRAPH_VIEW_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_GRAPH_VIEW_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
@ -124,4 +124,4 @@ class GraphView {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_GRAPH_VIEW_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_GRAPH_VIEW_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
#define TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@ -93,4 +93,4 @@ std::vector<const NodeDef*> ComputeTransitiveFanin(
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
#define TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
@ -59,4 +59,4 @@ std::unique_ptr<GrapplerItem> GrapplerItemFromMetaGraphDef(
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_GRAPPLER_ITEM_BUILDER_H_
|
||||
|
@ -18,8 +18,8 @@ limitations under the License.
|
||||
// that may be stored in the checkpoint are not restored in order to speedup the
|
||||
// initialization.
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <limits>
|
||||
@ -53,4 +53,4 @@ class FileInputYielder : public InputYielder {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_INPUTS_FILE_INPUT_YIELDER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
|
||||
namespace tensorflow {
|
||||
namespace grappler {
|
||||
@ -32,4 +32,4 @@ class InputYielder {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_INPUTS_INPUT_YIELDER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -44,4 +44,4 @@ class TrivialTestGraphInputYielder : public InputYielder {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_INPUTS_TRIVIAL_TEST_GRAPH_INPUT_YIELDER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_INPUTS_UTILS_H_
|
||||
#define TENSORFLOW_GRAPPLER_INPUTS_UTILS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_INPUTS_UTILS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_INPUTS_UTILS_H_
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
@ -37,4 +37,4 @@ Status ReadGraphDefFromFile(const std::string& graph_def_pbtxt_path,
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_INPUTS_UTILS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_INPUTS_UTILS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OP_TYPES_H_
|
||||
#define TENSORFLOW_GRAPPLER_OP_TYPES_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OP_TYPES_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OP_TYPES_H_
|
||||
|
||||
#include "tensorflow/core/framework/node_def.pb.h"
|
||||
#include "tensorflow/core/lib/core/status.h"
|
||||
@ -185,4 +185,4 @@ bool HasOpDef(const NodeDef& node);
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OP_TYPES_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OP_TYPES_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
|
||||
#include <unordered_set>
|
||||
#include "tensorflow/core/grappler/costs/graph_properties.h"
|
||||
@ -109,7 +109,7 @@ class ArithmeticOptimizer : public GraphOptimizer {
|
||||
Status SimplifyArithmeticOps(bool can_use_shapes);
|
||||
// Tries to simplify the expression that roots at `node` and replaces the uses
|
||||
// of `node` to the simplified expression. Returns the name of the simplified
|
||||
// tensor (e.g. "split:1") or an emtpy string if no simplification is
|
||||
// tensor (e.g. "split:1") or an empty string if no simplification is
|
||||
// performed.
|
||||
//
|
||||
// `node_map` stores the mapping from node names to NodeDef*, and will be
|
||||
@ -138,4 +138,4 @@ class ArithmeticOptimizer : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_ARITHMETIC_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
|
||||
#include "tensorflow/core/framework/variable.pb.h"
|
||||
#include "tensorflow/core/grappler/optimizers/graph_optimizer.h"
|
||||
@ -63,4 +63,4 @@ class AutoParallel : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_AUTO_PARALLEL_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
|
||||
#include "tensorflow/core/framework/device_base.h"
|
||||
#include "tensorflow/core/framework/op_kernel.h"
|
||||
@ -116,4 +116,4 @@ class ConstantFolding : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CONSTANT_FOLDING_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/grappler/optimizers/graph_optimizer.h"
|
||||
#include "tensorflow/core/lib/core/status.h"
|
||||
@ -34,4 +34,4 @@ class CustomGraphOptimizer : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_CUSTOM_GRAPH_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/grappler/optimizers/graph_optimizer.h"
|
||||
#include "tensorflow/core/protobuf/rewriter_config.pb.h"
|
||||
@ -55,4 +55,4 @@ class FunctionOptimizer : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_FUNCTION_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/framework/graph.pb.h"
|
||||
#include "tensorflow/core/lib/core/status.h"
|
||||
@ -50,4 +50,4 @@ class GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_OPTIMIZER_STAGE_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_OPTIMIZER_STAGE_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_STAGE_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_STAGE_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
@ -260,4 +260,4 @@ class GraphOptimizerStagePipeline {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_OPTIMIZER_STAGE_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_OPTIMIZER_STAGE_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
@ -99,4 +99,4 @@ class GraphRewriter {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_GRAPH_REWRITER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/grappler/costs/graph_properties.h"
|
||||
#include "tensorflow/core/grappler/costs/virtual_placer.h"
|
||||
@ -57,4 +57,4 @@ class LayoutOptimizer : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_LAYOUT_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/grappler/optimizers/graph_optimizer.h"
|
||||
#include "tensorflow/core/protobuf/rewriter_config.pb.h"
|
||||
@ -53,4 +53,4 @@ class MemoryOptimizer : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MEMORY_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
|
||||
#include "tensorflow/core/framework/device_base.h"
|
||||
#include "tensorflow/core/grappler/grappler_item.h"
|
||||
@ -90,4 +90,4 @@ Status RunMetaOptimizer(const GrapplerItem& item, const RewriterConfig& cfg,
|
||||
} // namespace grappler
|
||||
} // namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_META_OPTIMIZER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
#define TENSORFLOW_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
|
||||
#include "tensorflow/core/grappler/optimizers/graph_optimizer.h"
|
||||
|
||||
@ -41,4 +41,4 @@ class ModelPruner : public GraphOptimizer {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_MODEL_PRUNER_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_UTILS_H_
|
||||
#define TENSORFLOW_GRAPPLER_UTILS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_UTILS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_UTILS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <unordered_map>
|
||||
@ -254,4 +254,4 @@ class SimpleGraphView {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_UTILS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_UTILS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
#define TENSORFLOW_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@ -221,4 +221,4 @@ Status MakeFunctionDef(const GrapplerFunctionItem& item,
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_UTILS_FUNCTIONS_H_
|
||||
|
@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#ifndef TENSORFLOW_GRAPPLER_GRAPPLER_TEST_H_
|
||||
#define TENSORFLOW_GRAPPLER_GRAPPLER_TEST_H_
|
||||
#ifndef TENSORFLOW_CORE_GRAPPLER_UTILS_GRAPPLER_TEST_H_
|
||||
#define TENSORFLOW_CORE_GRAPPLER_UTILS_GRAPPLER_TEST_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -75,4 +75,4 @@ class GrapplerTest : public ::testing::Test {
|
||||
} // end namespace grappler
|
||||
} // end namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_GRAPPLER_GRAPPLER_TEST_H_
|
||||
#endif // TENSORFLOW_CORE_GRAPPLER_UTILS_GRAPPLER_TEST_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user