EnableIrAttrMatch
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/pattern_matcher_config.h>
- Library file: libge_compiler.so
Function Usage
Defines whether IR attribute and value matching is enabled.
If the function controlled by this configuration is enabled, the pattern matcher matches the IR attribute values carried by the nodes in the pattern.
Prototype
1 | PatternMatcherConfigBuilder &EnableIrAttrMatch() |
Parameters
None
Returns
PatternMatcherConfigBuilder &, allowing cascading calls to member functions.
Constraints
Binary matching, a strict matching mode is used. If the result is not as expected, disable this function and process the value verification logic in the pass.
Parent topic: PatternMatcherConfigBuilder