Publishing R3
[platform/upstream/dldt.git] / inference-engine / thirdparty / ade / ade / include / passes / pass_base.hpp
1 // Copyright (C) 2018 Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5
6 #ifndef PASS_BASE_HPP
7 #define PASS_BASE_HPP
8
9 namespace ade
10 {
11
12 class Graph;
13
14 template<typename...>
15 class TypedGraph;
16
17 namespace passes
18 {
19 struct PassContext
20 {
21     Graph& graph;
22 };
23
24 template<typename... Types>
25 struct TypedPassContext
26 {
27     TypedGraph<Types...> graph;
28
29     TypedPassContext(PassContext& context):
30         graph(context.graph) {}
31 };
32
33 }
34
35 }
36
37
38 #endif // PASS_BASE_HPP