6.2.3. The hb_perf Tool

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

6.2.3.1. How to Use

hb_perf [OPTIONS] BIN_FILE

6.2.3.2. Parameters

Parameters:
-h, --help

Displays help information and exits.

--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.

6.2.3.3. Output Contents

Model information will be generated to the hb_perf_result folder in current directory and saved in the html and json files using the model name, as follows:

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