Class ov::pass::pattern::op::AnyOf#

class AnyOf : public ov::pass::pattern::op::Pattern#

The graph value is added to the matched values list. If the predicate is true for the graph node, a submatch is performed on the input of AnyOf and each input of the graph node. The first match that succeeds results in a successful match. Otherwise the match fails.

AnyOf may be given a type and shape for use in strict mode.

Public Functions

inline AnyOf(const element::Type &type, const PartialShape &s, ValuePredicate pred, const OutputVector &wrapped_values)#

creates a AnyOf node containing a sub-pattern described by

See also

type and

See also

shape.

inline AnyOf(const Output<Node> &node, ValuePredicate pred, const OutputVector &wrapped_values)#

creates a AnyOf node containing a sub-pattern described by the type and shape of

See also

node.