IsStatic

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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