Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / inference_engine / exec_graph_info.hpp
1 // Copyright (C) 2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include <string>
8
9 namespace ExecGraphInfoSerialization {
10 /**
11 * @brief Executable Graph Info is represented in ICNNNetwork format with general CNNLayer nodes inside
12 *        including connections between the nodes. Each node describes an executable hardware-specific
13 *        primitive and stores its parameters within CNNLayer::params map.
14 *        There is a list of general keys for the parameters map.
15 */
16
17 /**
18  * @brief A general key for CNNLayer::params map. Used to get a string of layer names separated by a comma
19  *        from the original IR, which were fused/merged to the current executable primitive.
20  */
21 static const char ORIGIN_NAMES[] = "originalFusedLayersNames";
22 /**
23  * @brief A general key for CNNLayer::params map. Used to get a type of the executable primitive.
24  */
25 static const char IMPL_TYPE[] = "primitiveType";
26 /**
27  * @brief A general key for CNNLayer::params map. Used to get a precision of the executable primitive.
28  */
29 static const char PRECISION[] = "precision";
30 /**
31  * @brief A general key for CNNLayer::params map. Used to get value of execution time of the executable primitive.
32  */
33 static const char PERF_COUNTER[] = "execTimeMcs";
34 }  // namespace ExecGraphInfoSerialization