19 #include "ngraph/node.hpp"
20 #include "ngraph/pattern/op/pattern.hpp"
33 static constexpr
NodeTypeInfo type_info{
"patternAny", 0};
40 const OutputVector& wrapped_values)
43 set_output_type(0, type, s);
48 const NodeVector& wrapped_values)
49 :
Any(type, s, as_value_predicate(pred), as_output_vector(wrapped_values))
56 const OutputVector& wrapped_values)
57 :
Any(node.get_element_type(), node.get_partial_shape(), pred, wrapped_values)
60 Any(
const Output<Node>& node, NodePredicate pred,
const NodeVector& wrapped_values)
61 :
Any(node.get_element_type(),
62 node.get_partial_shape(),
63 as_value_predicate(pred),
64 as_output_vector(wrapped_values))
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Class representing a shape that may be partially or totally dynamic.
Definition: partial_shape.hpp:46
Definition: element_type.hpp:61
Definition: matcher.hpp:75
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:54
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:37
const NodeTypeInfo & get_type_info() const override
Definition: pattern.hpp:82
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28