GetFixedFeatureMemorySize

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 total fixed feature memory size after compilation (applicable to static and dynamic shape graphs).

Prototype

1
Status GetFixedFeatureMemorySize(size_t &size) const

Parameters

Parameter

Input/Output

Description

size

Output

Constant memory size.

Returns

Parameter

Type

Description

-

Status

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

Restrictions

None