From a78acb2d2ca07f51ce33b3995e9b45bfb691e455 Mon Sep 17 00:00:00 2001 From: Ke Zhang Date: Tue, 4 Dec 2018 08:41:03 -0800 Subject: [PATCH] rename graph.h to graph_viewer.h (#84) --- include/onnxruntime/core/framework/op_kernel.h | 2 +- include/onnxruntime/core/framework/op_kernel_info.h | 2 +- include/onnxruntime/core/framework/op_node_proto_helper.h | 2 +- include/onnxruntime/core/graph/graph_transformer.h | 2 +- include/onnxruntime/core/graph/{graph.h => graph_viewer.h} | 0 include/onnxruntime/core/graph/rewrite_rule.h | 2 +- onnxruntime/core/codegen/tvm/tvm_compiler.h | 2 +- onnxruntime/core/framework/allocation_planner.h | 2 +- onnxruntime/core/framework/execution_frame.h | 2 +- onnxruntime/core/framework/execution_provider.cc | 2 +- onnxruntime/core/framework/execution_providers.h | 2 +- onnxruntime/core/framework/graph_partitioner.cc | 2 +- onnxruntime/core/framework/graph_partitioner.h | 2 +- onnxruntime/core/framework/insert_cast_transformer.h | 2 +- onnxruntime/core/framework/kernel_registry_manager.h | 2 +- onnxruntime/core/framework/mldata_type_utils.h | 2 +- onnxruntime/core/framework/op_node_proto_helper.cc | 2 +- onnxruntime/core/framework/parallel_executor.h | 2 +- onnxruntime/core/framework/sequential_executor.h | 2 +- onnxruntime/core/framework/session_state.h | 2 +- onnxruntime/core/framework/session_state_initializer.cc | 2 +- onnxruntime/core/framework/utils.cc | 2 +- onnxruntime/core/graph/function.cc | 2 +- onnxruntime/core/graph/graph.cc | 2 +- onnxruntime/core/graph/graph_viewer.cc | 2 +- onnxruntime/core/graph/identity_elimination.cc | 2 +- onnxruntime/core/graph/model.h | 2 +- onnxruntime/core/providers/cuda/cuda_common.h | 2 +- onnxruntime/core/session/inference_session.cc | 2 +- onnxruntime/python/onnxruntime_pybind_state.cc | 2 +- onnxruntime/test/framework/cuda/fence_cuda_test.cc | 2 +- onnxruntime/test/framework/float_16_test.cc | 2 +- onnxruntime/test/framework/inference_session_test.cc | 2 +- onnxruntime/test/framework/local_kernel_registry_test.cc | 2 +- onnxruntime/test/framework/op_kernel_test.cc | 2 +- onnxruntime/test/framework/opaque_kernels_test.cc | 2 +- onnxruntime/test/framework/session_state_test.cc | 2 +- onnxruntime/test/ir/graph_test.cc | 2 +- onnxruntime/test/ir/graph_transform_test.cc | 2 +- onnxruntime/test/ir/onnx_model_test.cc | 2 +- onnxruntime/test/perftest/performance_runner.cc | 2 +- onnxruntime/test/providers/provider_test_utils.h | 2 +- onnxruntime/test/tvm/tvm_basic_test.cc | 2 +- 43 files changed, 42 insertions(+), 42 deletions(-) rename include/onnxruntime/core/graph/{graph.h => graph_viewer.h} (100%) diff --git a/include/onnxruntime/core/framework/op_kernel.h b/include/onnxruntime/core/framework/op_kernel.h index 5654c3ad42..f0bfe2fff1 100644 --- a/include/onnxruntime/core/framework/op_kernel.h +++ b/include/onnxruntime/core/framework/op_kernel.h @@ -15,7 +15,7 @@ #include "core/framework/op_node_proto_helper.h" #include "core/framework/tensor.h" #include "core/graph/constants.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "gsl/span" #include "onnx/defs/schema.h" diff --git a/include/onnxruntime/core/framework/op_kernel_info.h b/include/onnxruntime/core/framework/op_kernel_info.h index 31e80ce699..c0b263c33d 100644 --- a/include/onnxruntime/core/framework/op_kernel_info.h +++ b/include/onnxruntime/core/framework/op_kernel_info.h @@ -7,7 +7,7 @@ #include "core/framework/kernel_def_builder.h" #include "core/framework/ml_value.h" #include "core/framework/op_node_proto_helper.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "gsl/span" #include "gsl/gsl_util" diff --git a/include/onnxruntime/core/framework/op_node_proto_helper.h b/include/onnxruntime/core/framework/op_node_proto_helper.h index ce79412df8..03d0849cd6 100644 --- a/include/onnxruntime/core/framework/op_node_proto_helper.h +++ b/include/onnxruntime/core/framework/op_node_proto_helper.h @@ -4,7 +4,7 @@ #pragma once #include "core/common/status.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "gsl/span" #ifdef __has_attribute diff --git a/include/onnxruntime/core/graph/graph_transformer.h b/include/onnxruntime/core/graph/graph_transformer.h index 28824b25ac..78493f695b 100644 --- a/include/onnxruntime/core/graph/graph_transformer.h +++ b/include/onnxruntime/core/graph/graph_transformer.h @@ -4,7 +4,7 @@ #pragma once #include "core/common/common.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/rewrite_rule.h" namespace onnxruntime { diff --git a/include/onnxruntime/core/graph/graph.h b/include/onnxruntime/core/graph/graph_viewer.h similarity index 100% rename from include/onnxruntime/core/graph/graph.h rename to include/onnxruntime/core/graph/graph_viewer.h diff --git a/include/onnxruntime/core/graph/rewrite_rule.h b/include/onnxruntime/core/graph/rewrite_rule.h index f276421a2d..d98c3779d9 100644 --- a/include/onnxruntime/core/graph/rewrite_rule.h +++ b/include/onnxruntime/core/graph/rewrite_rule.h @@ -4,7 +4,7 @@ #pragma once #include "core/common/common.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { diff --git a/onnxruntime/core/codegen/tvm/tvm_compiler.h b/onnxruntime/core/codegen/tvm/tvm_compiler.h index 5574652cc3..624d5d260a 100644 --- a/onnxruntime/core/codegen/tvm/tvm_compiler.h +++ b/onnxruntime/core/codegen/tvm/tvm_compiler.h @@ -8,7 +8,7 @@ #include "core/framework/data_types.h" #include "core/graph/function.h" #include "core/graph/constants.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { //TODO: this is just initial design to represent TVM Graph, to make the basic test work. diff --git a/onnxruntime/core/framework/allocation_planner.h b/onnxruntime/core/framework/allocation_planner.h index 4e5db48c1e..e220606df7 100644 --- a/onnxruntime/core/framework/allocation_planner.h +++ b/onnxruntime/core/framework/allocation_planner.h @@ -7,7 +7,7 @@ #include "core/framework/alloc_kind.h" #include "core/framework/allocator.h" #include "core/framework/sequential_execution_plan.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace ONNX_NAMESPACE { class TensorShapeProto; } diff --git a/onnxruntime/core/framework/execution_frame.h b/onnxruntime/core/framework/execution_frame.h index 3f946a26ad..60b32963fc 100644 --- a/onnxruntime/core/framework/execution_frame.h +++ b/onnxruntime/core/framework/execution_frame.h @@ -11,7 +11,7 @@ #include "core/framework/ml_value.h" #include "core/framework/sequential_execution_plan.h" #include "core/framework/tensor.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/execution_provider.cc b/onnxruntime/core/framework/execution_provider.cc index 09a302d338..e5b7cf02d0 100644 --- a/onnxruntime/core/framework/execution_provider.cc +++ b/onnxruntime/core/framework/execution_provider.cc @@ -2,7 +2,7 @@ // Licensed under the MIT License. #include "core/framework/execution_provider.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/framework/computation_capacity.h" #include "core/framework/kernel_registry_manager.h" #include "core/framework/op_kernel.h" diff --git a/onnxruntime/core/framework/execution_providers.h b/onnxruntime/core/framework/execution_providers.h index 298e5373b3..a4c05b4bf8 100644 --- a/onnxruntime/core/framework/execution_providers.h +++ b/onnxruntime/core/framework/execution_providers.h @@ -10,7 +10,7 @@ #include #include "core/framework/execution_provider.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/common/logging/logging.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/graph_partitioner.cc b/onnxruntime/core/framework/graph_partitioner.cc index 3440c4fa00..57d74f1b92 100644 --- a/onnxruntime/core/framework/graph_partitioner.cc +++ b/onnxruntime/core/framework/graph_partitioner.cc @@ -5,7 +5,7 @@ #include "core/framework/kernel_registry_manager.h" #include "core/graph/function.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/framework/computation_capacity.h" #include "core/framework/kernel_registry_manager.h" #include "core/framework/execution_providers.h" diff --git a/onnxruntime/core/framework/graph_partitioner.h b/onnxruntime/core/framework/graph_partitioner.h index a22589f1a7..b03ad8c844 100644 --- a/onnxruntime/core/framework/graph_partitioner.h +++ b/onnxruntime/core/framework/graph_partitioner.h @@ -4,7 +4,7 @@ #pragma once #include "core/common/common.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/framework/op_kernel.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/insert_cast_transformer.h b/onnxruntime/core/framework/insert_cast_transformer.h index ec35424e14..b338a431f7 100644 --- a/onnxruntime/core/framework/insert_cast_transformer.h +++ b/onnxruntime/core/framework/insert_cast_transformer.h @@ -2,7 +2,7 @@ // Licensed under the MIT License. #pragma once -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/graph_transformer.h" #include "core/common/common.h" #include "core/framework/op_kernel.h" diff --git a/onnxruntime/core/framework/kernel_registry_manager.h b/onnxruntime/core/framework/kernel_registry_manager.h index 6cd6eb3499..e41fb3cb03 100644 --- a/onnxruntime/core/framework/kernel_registry_manager.h +++ b/onnxruntime/core/framework/kernel_registry_manager.h @@ -7,7 +7,7 @@ #include #include #include "core/common/status.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { struct KernelCreateInfo; diff --git a/onnxruntime/core/framework/mldata_type_utils.h b/onnxruntime/core/framework/mldata_type_utils.h index 1e3321bc6e..000acdaffa 100644 --- a/onnxruntime/core/framework/mldata_type_utils.h +++ b/onnxruntime/core/framework/mldata_type_utils.h @@ -4,7 +4,7 @@ #pragma once #include "core/framework/data_types.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "onnx/defs/data_type_utils.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/op_node_proto_helper.cc b/onnxruntime/core/framework/op_node_proto_helper.cc index 3e1cf306c7..e85f27f636 100644 --- a/onnxruntime/core/framework/op_node_proto_helper.cc +++ b/onnxruntime/core/framework/op_node_proto_helper.cc @@ -4,7 +4,7 @@ #include "core/common/exceptions.h" #include "core/common/status.h" #include "core/common/logging/logging.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/op.h" #include "onnx/defs/schema.h" #include "core/framework/op_kernel.h" diff --git a/onnxruntime/core/framework/parallel_executor.h b/onnxruntime/core/framework/parallel_executor.h index a8a465c7c6..6acc748fac 100644 --- a/onnxruntime/core/framework/parallel_executor.h +++ b/onnxruntime/core/framework/parallel_executor.h @@ -12,7 +12,7 @@ #include "core/framework/framework_common.h" #include "core/framework/ml_value.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/sequential_executor.h b/onnxruntime/core/framework/sequential_executor.h index 1f18b36eee..fd73a91eea 100644 --- a/onnxruntime/core/framework/sequential_executor.h +++ b/onnxruntime/core/framework/sequential_executor.h @@ -11,7 +11,7 @@ #include "core/framework/framework_common.h" #include "core/framework/ml_value.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { class SequentialExecutor : public IExecutor { diff --git a/onnxruntime/core/framework/session_state.h b/onnxruntime/core/framework/session_state.h index 0f09424fc6..b700bb671d 100644 --- a/onnxruntime/core/framework/session_state.h +++ b/onnxruntime/core/framework/session_state.h @@ -18,7 +18,7 @@ #include "core/framework/mem_pattern.h" #include "core/framework/ml_value.h" #include "core/framework/mlvalue_name_idx_map.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { diff --git a/onnxruntime/core/framework/session_state_initializer.cc b/onnxruntime/core/framework/session_state_initializer.cc index edceb317f7..b438718ae3 100644 --- a/onnxruntime/core/framework/session_state_initializer.cc +++ b/onnxruntime/core/framework/session_state_initializer.cc @@ -8,7 +8,7 @@ #include "core/common/common.h" #include "core/common/logging/logging.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/graph_transformer.h" #include "core/graph/graph_transformer_mgr.h" diff --git a/onnxruntime/core/framework/utils.cc b/onnxruntime/core/framework/utils.cc index 914f44c9f8..05e6f7bd12 100644 --- a/onnxruntime/core/framework/utils.cc +++ b/onnxruntime/core/framework/utils.cc @@ -3,7 +3,7 @@ #include "core/framework/utils.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/framework/execution_providers.h" #include "core/framework/kernel_def_builder.h" diff --git a/onnxruntime/core/graph/function.cc b/onnxruntime/core/graph/function.cc index afbaf2a16f..b54cb6acc8 100644 --- a/onnxruntime/core/graph/function.cc +++ b/onnxruntime/core/graph/function.cc @@ -2,7 +2,7 @@ // Licensed under the MIT License. #include "core/graph/function_impl.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "onnx/shape_inference/implementation.h" diff --git a/onnxruntime/core/graph/graph.cc b/onnxruntime/core/graph/graph.cc index 1acb349d60..ddbe873d8d 100644 --- a/onnxruntime/core/graph/graph.cc +++ b/onnxruntime/core/graph/graph.cc @@ -14,7 +14,7 @@ #include "gsl/pointers" #include "core/graph/function.h" #include "core/graph/function_impl.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/indexed_sub_graph.h" #include "core/graph/op.h" #include "core/common/logging/logging.h" diff --git a/onnxruntime/core/graph/graph_viewer.cc b/onnxruntime/core/graph/graph_viewer.cc index 27473bd857..4beaf5243b 100644 --- a/onnxruntime/core/graph/graph_viewer.cc +++ b/onnxruntime/core/graph/graph_viewer.cc @@ -6,7 +6,7 @@ #pragma warning(disable : 4244) #endif -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" namespace onnxruntime { diff --git a/onnxruntime/core/graph/identity_elimination.cc b/onnxruntime/core/graph/identity_elimination.cc index 3e052cc127..af9bf2c7be 100644 --- a/onnxruntime/core/graph/identity_elimination.cc +++ b/onnxruntime/core/graph/identity_elimination.cc @@ -3,7 +3,7 @@ #include "core/graph/rewrite_rule.h" #include "core/graph/identity_elimination.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/op.h" #include "core/common/logging/logging.h" diff --git a/onnxruntime/core/graph/model.h b/onnxruntime/core/graph/model.h index 110d74a1fa..f7e510fe34 100644 --- a/onnxruntime/core/graph/model.h +++ b/onnxruntime/core/graph/model.h @@ -7,7 +7,7 @@ #include #include #include -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "gsl/pointers" diff --git a/onnxruntime/core/providers/cuda/cuda_common.h b/onnxruntime/core/providers/cuda/cuda_common.h index 0fc1e30d5c..e8b4400584 100644 --- a/onnxruntime/core/providers/cuda/cuda_common.h +++ b/onnxruntime/core/providers/cuda/cuda_common.h @@ -5,7 +5,7 @@ #include "cuda_pch.h" #include "core/common/status.h" #include "core/framework/op_kernel.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "shared_inc/cuda_call.h" #include "cuda_execution_provider.h" #include "shared_inc/fast_divmod.h" diff --git a/onnxruntime/core/session/inference_session.cc b/onnxruntime/core/session/inference_session.cc index 6178e7810c..04056b568e 100644 --- a/onnxruntime/core/session/inference_session.cc +++ b/onnxruntime/core/session/inference_session.cc @@ -11,7 +11,7 @@ #include "core/common/logging/logging.h" #include "core/common/task_thread_pool.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/graph_transformer.h" #include "core/graph/graph_transformer_mgr.h" #include "core/graph/model.h" diff --git a/onnxruntime/python/onnxruntime_pybind_state.cc b/onnxruntime/python/onnxruntime_pybind_state.cc index d1889afd8f..4a60a28dcb 100644 --- a/onnxruntime/python/onnxruntime_pybind_state.cc +++ b/onnxruntime/python/onnxruntime_pybind_state.cc @@ -7,7 +7,7 @@ #define PY_ARRAY_UNIQUE_SYMBOL onnxruntime_python_ARRAY_API #include -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #if USE_CUDA #define BACKEND_PROC "GPU" diff --git a/onnxruntime/test/framework/cuda/fence_cuda_test.cc b/onnxruntime/test/framework/cuda/fence_cuda_test.cc index 94eba12275..133e9efde4 100644 --- a/onnxruntime/test/framework/cuda/fence_cuda_test.cc +++ b/onnxruntime/test/framework/cuda/fence_cuda_test.cc @@ -13,7 +13,7 @@ #include "core/framework/execution_provider.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cuda/cuda_execution_provider.h" diff --git a/onnxruntime/test/framework/float_16_test.cc b/onnxruntime/test/framework/float_16_test.cc index 7ddf63532d..0be65ea0b2 100644 --- a/onnxruntime/test/framework/float_16_test.cc +++ b/onnxruntime/test/framework/float_16_test.cc @@ -12,7 +12,7 @@ #include "core/framework/execution_provider.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cpu/cpu_execution_provider.h" diff --git a/onnxruntime/test/framework/inference_session_test.cc b/onnxruntime/test/framework/inference_session_test.cc index e83dcaddeb..b3d9b461db 100644 --- a/onnxruntime/test/framework/inference_session_test.cc +++ b/onnxruntime/test/framework/inference_session_test.cc @@ -15,7 +15,7 @@ #include "core/framework/kernel_registry.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/framework/computation_capacity.h" #include "core/graph/model.h" #include "core/graph/op.h" diff --git a/onnxruntime/test/framework/local_kernel_registry_test.cc b/onnxruntime/test/framework/local_kernel_registry_test.cc index 300d4bb266..1066ce6c0e 100644 --- a/onnxruntime/test/framework/local_kernel_registry_test.cc +++ b/onnxruntime/test/framework/local_kernel_registry_test.cc @@ -12,7 +12,7 @@ #include "core/framework/execution_provider.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cpu/cpu_execution_provider.h" diff --git a/onnxruntime/test/framework/op_kernel_test.cc b/onnxruntime/test/framework/op_kernel_test.cc index b20933d3a3..15dc19e633 100644 --- a/onnxruntime/test/framework/op_kernel_test.cc +++ b/onnxruntime/test/framework/op_kernel_test.cc @@ -4,7 +4,7 @@ #include "core/session/inference_session.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cpu/cpu_execution_provider.h" diff --git a/onnxruntime/test/framework/opaque_kernels_test.cc b/onnxruntime/test/framework/opaque_kernels_test.cc index 51e5d88d90..03348ec6fd 100644 --- a/onnxruntime/test/framework/opaque_kernels_test.cc +++ b/onnxruntime/test/framework/opaque_kernels_test.cc @@ -7,7 +7,7 @@ #include "core/framework/execution_providers.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cpu/cpu_execution_provider.h" diff --git a/onnxruntime/test/framework/session_state_test.cc b/onnxruntime/test/framework/session_state_test.cc index 8fb8515a4e..3304636940 100644 --- a/onnxruntime/test/framework/session_state_test.cc +++ b/onnxruntime/test/framework/session_state_test.cc @@ -6,7 +6,7 @@ #include "core/framework/execution_providers.h" #include "core/framework/op_kernel.h" #include "core/framework/session_state.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "core/providers/cpu/cpu_execution_provider.h" diff --git a/onnxruntime/test/ir/graph_test.cc b/onnxruntime/test/ir/graph_test.cc index 3f0bfda92c..445d044ef1 100644 --- a/onnxruntime/test/ir/graph_test.cc +++ b/onnxruntime/test/ir/graph_test.cc @@ -18,7 +18,7 @@ #else #pragma GCC diagnostic pop #endif -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "gtest/gtest.h" diff --git a/onnxruntime/test/ir/graph_transform_test.cc b/onnxruntime/test/ir/graph_transform_test.cc index 365e92eb3f..be6a3b6b06 100644 --- a/onnxruntime/test/ir/graph_transform_test.cc +++ b/onnxruntime/test/ir/graph_transform_test.cc @@ -2,7 +2,7 @@ // Licensed under the MIT License. #include "core/session/inference_session.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/graph_transformer.h" #include "core/graph/identity_elimination.h" diff --git a/onnxruntime/test/ir/onnx_model_test.cc b/onnxruntime/test/ir/onnx_model_test.cc index dfbc75c05d..7939fadf8e 100644 --- a/onnxruntime/test/ir/onnx_model_test.cc +++ b/onnxruntime/test/ir/onnx_model_test.cc @@ -4,7 +4,7 @@ #include #include #include "core/platform/env.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/graph/op.h" #include "gtest/gtest.h" diff --git a/onnxruntime/test/perftest/performance_runner.cc b/onnxruntime/test/perftest/performance_runner.cc index 7bd0907068..5c467e65fc 100644 --- a/onnxruntime/test/perftest/performance_runner.cc +++ b/onnxruntime/test/perftest/performance_runner.cc @@ -7,7 +7,7 @@ #ifdef _MSC_VER #include #endif -#include "core/graph/graph.h" //for onnxruntime::NodeArg +#include "core/graph/graph_viewer.h" //for onnxruntime::NodeArg #include "utils.h" #include "testenv.h" #include "providers.h" diff --git a/onnxruntime/test/providers/provider_test_utils.h b/onnxruntime/test/providers/provider_test_utils.h index 7c6abcebcc..064971431e 100644 --- a/onnxruntime/test/providers/provider_test_utils.h +++ b/onnxruntime/test/providers/provider_test_utils.h @@ -11,7 +11,7 @@ #include "core/framework/run_options.h" #include "core/framework/session_state.h" #include "core/framework/tensor.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "core/framework/data_types.h" #include "test/test_environment.h" diff --git a/onnxruntime/test/tvm/tvm_basic_test.cc b/onnxruntime/test/tvm/tvm_basic_test.cc index 5d6e96643d..c266535b2d 100644 --- a/onnxruntime/test/tvm/tvm_basic_test.cc +++ b/onnxruntime/test/tvm/tvm_basic_test.cc @@ -6,7 +6,7 @@ #include "core/codegen/tvm/tvm_kernel.h" #include "core/framework/execution_provider.h" #include "core/framework/computation_capacity.h" -#include "core/graph/graph.h" +#include "core/graph/graph_viewer.h" #include "core/providers/cpu/cpu_execution_provider.h" #include "core/session/inference_session.h" #include "core/common/logging/logging.h"