To pursue ultimate performance in those scenarios with enormous input size, the quantization and conversion of some inputs and outputs can be fused into data pre-processing.
At this point you can choose to remove these nodes by using the hb_compile tool, the tool supports also the compilation of HBIR models at the same time.

It supports the modification and compilation of the HBIR model.
| Parameter Name | Parameter Description |
-h, --help | Show help information and exit. |
-c, --config | Configuration file for the model compilation, in YAML format.
The configuration of the parameters in the yaml file can be found in section Specific Parameter Information. |
-m, --model | The model to be modified, which suffix needs to be .bc . |
When using hb_compile to modify the model and compile the HBIR model, you can refer to the following command: