IsStatic
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/ge_graph_compile_summary.h>
- Library file: libge_compiler.so
Function Usage
Returns whether the graph is statically compiled. The subsequent API for obtaining the summary information can be used only when the graph is statically compiled.
The GetFixedFeatureMemorySize and GetAllFeatureMemoryTypeSize APIs are excluded.
Prototype
1 | bool IsStatic() const |
Parameters
None
Returns
If the graph is statically compiled, true is returned. In other cases, false is returned.
Constraints
None
Parent topic: CompiledGraphSummary