GetFeatureMemorySize

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/ge_graph_compile_summary.h>
  • Library file: libge_compiler.so

Function Usage

Obtains the size of the full feature memory (including the fixed memory) after compilation.

Prototype

1
Status GetFeatureMemorySize(size_t &size) const

Parameters

Parameter

Input/Output

Description

size

Output

Feature memory size.

Returns

Parameter

Type

Description

-

Status

  • SUCCESS: The API is called successfully.
  • FAILED: The API fails to be called.

Restrictions

None