mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-23 02:38:28 +00:00
rename graph.h to graph_viewer.h (#84)
This commit is contained in:
parent
980e8aa270
commit
a78acb2d2c
43 changed files with 42 additions and 42 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "core/common/common.h"
|
||||
#include "core/graph/graph.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
||||
namespace onnxruntime {
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include <vector>
|
||||
|
||||
#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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <list>
|
||||
#include <mutex>
|
||||
#include "core/common/status.h"
|
||||
#include "core/graph/graph.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
||||
namespace onnxruntime {
|
||||
struct KernelCreateInfo;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
|
||||
#include "core/graph/graph.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
||||
namespace onnxruntime {
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <memory>
|
||||
#include <climits>
|
||||
#include <string>
|
||||
#include "core/graph/graph.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
||||
#include "gsl/pointers"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#define PY_ARRAY_UNIQUE_SYMBOL onnxruntime_python_ARRAY_API
|
||||
#include <numpy/arrayobject.h>
|
||||
|
||||
#include "core/graph/graph.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
||||
#if USE_CUDA
|
||||
#define BACKEND_PROC "GPU"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <google/protobuf/io/zero_copy_stream_impl.h>
|
||||
#include <memory>
|
||||
#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"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#ifdef _MSC_VER
|
||||
#include <filesystem>
|
||||
#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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue