4.1.2.3. The hb_perf Tool

The hb_perf tool is used to analyze the performance of the quantized heterogeneous models.

4.1.2.3.1. How to Use

hb_perf [OPTIONS] BIN_FILE

4.1.2.3.2. Parameters

Parameters:
--version

Displays version information and exits.

-m

Followed by the model name. Specify the desired model when BIN_FILE is a pack model for dumping model compilation information for this specified model.

--help

Displays help information and exits.

4.1.2.3.3. Output Contents

Model information will be generated to the hb_perf_result folder in current directory and saved in a html file using the model name, e.g., hb_perf_result/<model_name>/<model_name>.html, as follows:

hb_perf_result/
└── mobilenetv1
    ├── mobilenetv1
    ├── mobilenetv1.html
    ├── mobilenetv1.png
    ├── MOBILENET_subgraph_0.html
    ├── MOBILENET_subgraph_0.json
    └── temp.hbm