static_op_mem (Static Graph Operator Memory)
The static graph operator memory does not contain the timeline information. The summary information is summarized in the static_op_mem_*.csv file.
Availability
Data Description of the static_op_mem_*.csv File
The file content is formatted as follows.
In single-operator scenarios, the ACL_PROF_TASK_MEMORY data collection function is enabled by a call to aclprofCreateConfig. The data is reported only in the model compilation phase. You can use this file to view the memory allocation of operators in each subgraph in static graph scenarios.
In the static graph scenario, the graph ID is used to distinguish different computational graphs. In the dynamic subgraph scenario, the model name (root node name) is used to distinguish different subgraphs.
|
Field |
Description |
|---|---|
|
Device_id |
Device ID. |
|
Op Name |
Operator name. |
|
Model Name |
Name of the root node of a static submap. If the value is 0, the graph is a static graph and the static subgraph does not exist. If a static submap exists, the root node name is displayed. |
|
Graph ID |
Graph ID. Each graph ID corresponds to a computational graph. |
|
Node Index Start |
Logical time of operator memory allocation. |
|
Node Index End |
Logical time of operator memory release. When displayed as 4294967295, it indicates the maximum value of the time for operator memory allocation, that is, the operator memory release time is the end time of the computational graph's lifetime. |
|
Size(KB) |
Size of the allocated memory (KB). |