File tree 8 files changed +60
-5
lines changed
include/onnxruntime/core/graph
8 files changed +60
-5
lines changed Original file line number Diff line number Diff line change 15
15
#include " core/common/path.h"
16
16
#include " core/common/status.h"
17
17
#include " core/common/logging/logging.h"
18
- #include " core/flatbuffers/ort.fbs.h"
19
18
#include " core/graph/basic_types.h"
20
19
#include " core/graph/constants.h"
21
20
#include " core/graph/graph_nodes.h"
24
23
#include " core/graph/function.h"
25
24
#include " gsl/gsl"
26
25
26
+ namespace flatbuffers {
27
+ class FlatBufferBuilder;
28
+ template <typename T>
29
+ struct Offset;
30
+ } // namespace flatbuffers
31
+
27
32
namespace onnxruntime {
28
33
class Graph;
29
34
struct IndexedSubGraph;
30
35
class Model;
31
36
class OpSignature;
32
37
38
+ namespace experimental {
39
+ namespace fbs {
40
+ struct Graph;
41
+ struct Node;
42
+ struct NodeEdge;
43
+ } // namespace fbs
44
+ } // namespace experimental
45
+
33
46
/* *
34
47
@class Node
35
48
Class representing a node in the graph.
Original file line number Diff line number Diff line change 7
7
8
8
#include " core/common/logging/logging.h"
9
9
#include " core/common/safeint.h"
10
+ #include " core/flatbuffers/ort.fbs.h"
10
11
#include " core/framework/allocator.h"
11
12
#include " core/framework/node_index_info.h"
12
13
#include " core/framework/op_kernel.h"
Original file line number Diff line number Diff line change 13
13
#include " core/common/common.h"
14
14
#include " core/common/logging/logging.h"
15
15
#include " core/common/profiler.h"
16
- #include " core/flatbuffers/ort.fbs.h"
17
16
#include " core/framework/allocation_planner.h"
18
17
#include " core/framework/callback.h"
19
18
#include " core/framework/data_transfer_manager.h"
33
32
#include " core/platform/path_lib.h"
34
33
#include " core/platform/threadpool.h"
35
34
35
+ namespace flatbuffers {
36
+ class FlatBufferBuilder ;
37
+ template <typename T>
38
+ struct Offset ;
39
+ } // namespace flatbuffers
40
+
36
41
namespace onnxruntime {
37
42
43
+ namespace experimental {
44
+ namespace fbs {
45
+ struct SessionState ;
46
+ } // namespace fbs
47
+ } // namespace experimental
48
+
38
49
class ExecutionProviders ;
39
50
class KernelDef ;
40
51
class OpKernel ;
Original file line number Diff line number Diff line change 14
14
15
15
#include " gsl/gsl"
16
16
#include " core/common/logging/logging.h"
17
+ #include " core/flatbuffers/ort.fbs.h"
17
18
#include " core/framework/tensor_shape.h"
18
19
#include " core/framework/tensorprotoutils.h"
19
20
#include " core/framework/utils.h"
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
2
// Licensed under the MIT License.
3
3
4
- #include " graph_flatbuffers_utils.h"
4
+ #include < core/graph/graph.h>
5
+ #include " core/flatbuffers/ort.fbs.h"
5
6
#include " core/framework/tensorprotoutils.h"
7
+ #include " graph_flatbuffers_utils.h"
6
8
7
9
using namespace ONNX_NAMESPACE ;
8
10
using namespace ::onnxruntime::common;
Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT License.
3
3
4
4
#pragma once
5
- #include < core/graph/graph.h >
5
+ #include " flatbuffers/flatbuffers.h "
6
6
7
7
namespace onnxruntime {
8
+
9
+ class Graph ;
10
+ class Node ;
11
+
12
+ namespace logging {
13
+ class Logger ;
14
+ }
15
+
8
16
namespace experimental {
17
+
18
+ namespace fbs {
19
+ struct Attribute ;
20
+ struct Tensor ;
21
+ struct ValueInfo ;
22
+ } // namespace fbs
23
+
9
24
namespace utils {
10
25
11
26
onnxruntime::common::Status SaveValueInfoOrtFormat (
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
2
// Licensed under the MIT License.
3
3
4
+ #include " core/flatbuffers/ort.fbs.h"
4
5
#include " core/framework/tensorprotoutils.h"
5
6
#include " core/graph/graph_flatbuffers_utils.h"
6
7
#include " core/graph/model.h"
Original file line number Diff line number Diff line change 8
8
#include < climits>
9
9
#include < string>
10
10
#include " core/common/path.h"
11
- #include " core/flatbuffers/ort.fbs.h"
12
11
#include " core/graph/graph_viewer.h"
13
12
#include " core/session/onnxruntime_c_api.h"
14
13
#include " gsl/gsl"
15
14
15
+ namespace flatbuffers {
16
+ class FlatBufferBuilder ;
17
+ template <typename T>
18
+ struct Offset ;
19
+ } // namespace flatbuffers
20
+
16
21
namespace onnxruntime {
17
22
23
+ namespace experimental {
24
+ namespace fbs {
25
+ struct Model ;
26
+ } // namespace fbs
27
+ } // namespace experimental
28
+
18
29
typedef std::unordered_map<std::string, std::string> ModelMetaData;
19
30
using IOnnxRuntimeOpSchemaRegistryList = std::list<std::shared_ptr<IOnnxRuntimeOpSchemaCollection>>;
20
31
You can’t perform that action at this time.
0 commit comments