4.1. Post-training Quantization (PTQ)

D-Robotics provides you with the PTQ scheme. The following sections will guide you on how to use Post Training Quantization (PTQ) .

PTQ Principle and Steps: This section guides you through the use of PTQ from PTQ principles, model preparation, model verification, model quantization & compilation, performance analysis and optimization, and accuracy analysis and optimization.

PTQ Tools Guide: This section provides you with a detailed introduction to the PTQ toolkit provided by algorithm toolchain.

PTQ Model Conversion Samples Guide: This section introduces conversion sample package of the horizon_model_convert_sample model and its usage instructions. Provide a quick sample of converting a floating-point model to a fixed-point model using the floating-point model conversion toolchain, including a single inference and accuracy verification sample.

Appendix: This section introduces the descriptions and analysis of norm_type related parameters and related calculation formulas, as well as the concept of each transformer used in image scaling and cropping, parameter descriptions and examples, and general suggestions for solving common abnormalities and failures.