7 #include "ngraph/node.hpp"
8 #include "ngraph/pattern/op/pattern.hpp"
23 static constexpr
NodeTypeInfo type_info{
"patternCapture", 0};
28 set_output_type(0, arg.get_element_type(), arg.get_partial_shape());
33 void set_static_nodes(
const std::set<Node*>& static_nodes)
35 m_static_nodes = static_nodes;
43 std::set<Node*> m_static_nodes;
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Definition: matcher.hpp:63
Definition: capture.hpp:21
std::set< Node * > get_static_nodes()
static nodes are retained after a capture. All other nodes are dropped
Definition: capture.hpp:32
const NodeTypeInfo & get_type_info() const override
Definition: pattern.hpp:73
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16