17 #include <ngraph/node.hpp>
92 class INFERENCE_ENGINE_API_CLASS(ExecutionNode) :
public ngraph::Node {
94 static constexpr ngraph::NodeTypeInfo type_info {
"ExecutionNode", 0 };
95 const ngraph::NodeTypeInfo& get_type_info()
const override;
108 ExecutionNode(
const ngraph::OutputVector& arguments,
size_t output_size = 1) :
109 Node(arguments, output_size) { }
119 auto cloned = std::make_shared<ExecutionNode>();
121 cloned->set_arguments(inputs);
123 for (
auto kvp : get_rt_info())
124 cloned->get_rt_info()[kvp.first] = kvp.second;
126 for (
size_t i = 0; i < get_output_size(); ++i)
127 cloned->set_output_type(i, get_output_element_type(i), get_output_partial_shape(i));
bool visit_attributes(ngraph::AttributeVisitor &) override
Visits attributes of the node.
Definition: exec_graph_info.hpp:139
ExecutionNode(const ngraph::OutputVector &arguments, size_t output_size=1)
Constructs a new execution node with a given parameters.
Definition: exec_graph_info.hpp:108
std::shared_ptr< ngraph::Node > clone_with_new_inputs(const ngraph::OutputVector &inputs) const override
Creates a new execution node with the same state, but different input nodes.
Definition: exec_graph_info.hpp:118
static const char LAYER_TYPE[]
Used to get a type of primitive.
Definition: exec_graph_info.hpp:70
static const char RUNTIME_PRECISION[]
Used to get runtime precision of the executable primitive.
Definition: exec_graph_info.hpp:76
static const char EXECUTION_ORDER[]
Used to get an execution order of primitive.
Definition: exec_graph_info.hpp:64
static const char OUTPUT_LAYOUTS[]
Used to get output layouts of primitive.
Definition: exec_graph_info.hpp:58
static const char OUTPUT_PRECISIONS[]
Used to get output precisions of the executable primitive.
Definition: exec_graph_info.hpp:46
static const char PERF_COUNTER[]
Used to get a value of execution time of the executable primitive.
Definition: exec_graph_info.hpp:52
static const char IMPL_TYPE[]
Used to get a type of the executable primitive.
Definition: exec_graph_info.hpp:40
static const char ORIGINAL_NAMES[]
Used to get a string of layer names separated by a comma from the original IR, which were fused/merge...
Definition: exec_graph_info.hpp:34
A namespace with const values for Execution Graph parameters names.
Definition: exec_graph_info.hpp:27