Class ov::pass::pattern::op::Or

class Or : public ov::pass::pattern::op::Pattern

A submatch on the graph value is performed on each input to the Or; the match succeeds on the first match. Otherwise the match fails.

Public Functions

inline Or(const OutputVector &patterns)

creates an Or node matching one of several sub-patterns in order. Does not add node to match list.

Parameters

patterns – The patterns to try for matching