patterns
Applicable Products
All processors
Function Usage
Defines the list of patterns to be matched. It is the legacy explicit graph construction entry and is suitable for directly returning one or more pattern or graph objects.
Prototype
1 | patterns(self) -> Iterable[PatternOrGraph] |
Parameters
None
Returns
An iterable object, where each element is of the pattern or graph type to indicate the subgraph pattern to be matched
Restrictions
- It cannot be used together with the @pattern method.
- The patterns(self, inputs) form is not supported.
Parent topic: PatternFusionPass