REG_FUSION_PASS
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File
#include <ge/fusion/pass/pattern_fusion_pass.h>
Function Usage
Developers can register the graph modification function with the framework. The framework calls the custom graph modification pass at the beginning of build and calls REG_FUSION_PASS to register the custom pass.
Prototype
1 | REG_FUSION_PASS(pass_class) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pass_class |
Input |
Name of a custom pass. |
Returns
None
Restrictions
None
Parent topic: Basic Data Structures and APIs of Graphs