7 #include "ngraph/node.hpp"
8 #include "ngraph/pattern/op/pattern.hpp"
21 static constexpr
NodeTypeInfo type_info{
"patternAny", 0};
28 const OutputVector& wrapped_values)
31 set_output_type(0, type, s);
36 const NodeVector& wrapped_values)
37 :
Any(type, s, as_value_predicate(pred), as_output_vector(wrapped_values))
44 const OutputVector& wrapped_values)
45 :
Any(node.get_element_type(), node.get_partial_shape(), pred, wrapped_values)
48 Any(
const Output<Node>& node, NodePredicate pred,
const NodeVector& wrapped_values)
49 :
Any(node.get_element_type(),
50 node.get_partial_shape(),
51 as_value_predicate(pred),
52 as_output_vector(wrapped_values))
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Class representing a shape that may be partially or totally dynamic.
Definition: partial_shape.hpp:34
Definition: element_type.hpp:51
Definition: matcher.hpp:63
Any(const Output< Node > &node, ValuePredicate pred, const OutputVector &wrapped_values)
creates a Any node containing a sub-pattern described by the type and shape of
Definition: any.hpp:42
Any(const element::Type &type, const PartialShape &s, ValuePredicate pred, const OutputVector &wrapped_values)
creates a Any node containing a sub-pattern described by
Definition: any.hpp:25
const NodeTypeInfo & get_type_info() const override
Definition: pattern.hpp:73
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16