19 #include "ngraph/node.hpp"
20 #include "ngraph/pattern/op/pattern.hpp"
35 static constexpr
NodeTypeInfo type_info{
"patternCapture", 0};
40 set_output_type(0, arg.get_element_type(), arg.get_partial_shape());
45 void set_static_nodes(
const std::set<Node*>& static_nodes)
47 m_static_nodes = static_nodes;
55 std::set<Node*> m_static_nodes;
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Definition: matcher.hpp:75
Definition: capture.hpp:33
std::set< Node * > get_static_nodes()
static nodes are retained after a capture. All other nodes are dropped
Definition: capture.hpp:44
const NodeTypeInfo & get_type_info() const override
Definition: pattern.hpp:82
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28