op_statistic (Operator Calling Times and Time Consumption)

There is no timeline information of the calling times and time consumption of AI Core and AI CPU operators. The summary information is summarized in the op_statistic_*.csv file.

Availability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Data Description of the op_statistic_*.csv File

Analyze the total calling time and total number of calls of each type of operators, check whether there are any operators with long total execution time, and analyze whether there is any optimization space for these operators.

Figure 1 op_statistic_*.csv
Table 1 Field description

Field

Description

Device_id

Device ID.

Model Name

Model name. It may be left empty if no related data is collected. (This field is not displayed by default or in the single-operator scenario.)

OP Type

Operator type.

Core Type

Core type, including AI CPU and AI Core.

Count

Number of calls to an operator.

Total Time(us)

Time taken by the calls to an operator (μs).

Avg Time(us), Min Time(us), Max Time(us)

Average, minimum, and maximum duration of the calls to an operator (μs).

Ratio(%)

Percentage of duration of the operator calls in the model.