EnableConstValueMatch
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/pattern_matcher_config.h>
- Library file: libge_compiler.so
Function Usage
Enables const value matching.
If this function is enabled, the pattern matcher matches the tensor values carried by the constants defined in the pattern. A match is found only if the values are the same.
Prototype
1 | PatternMatcherConfigBuilder &EnableConstValueMatch() |
Parameters
None
Returns
A reference to PatternMatcherConfigBuilder, enabling cascading calls of member functions.
Restrictions
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