Run
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/pass/fusion_base_pass.h>
- Library file: libge_compiler.so
Function Usage
Completes pass execution as the main function.
Prototype
1 | virtual Status Run(GraphPtr &graph, CustomPassContext &pass_context) = 0; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph |
Input |
Target graph. |
pass_context |
Input |
Customized pass context, which can be used to transfer information such as error messages. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: Execution succeeded. FAILED: Execution failed. |
Constraints
None
Parent topic: FusionBasePass