IsStatic
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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. Subsequent APIs 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.
Restrictions
None
Parent topic: CompiledGraphSummary