This documentation is intended for all developers using the Horizon J6 computing platform. To help you understand the overall workflow more clearly, we recommend reading the documentation in the following order.
The following sections briefly introduce the content of each section. You can also jump directly to the relevant section based on your current needs.
1. Documentation Overview
This section provides an overview of the relevant sections in the documentation, together with recommended reading paths.
This section introduces the dependencies, environment version requirements, and prerequisites that should be checked before installation so that the development and runtime environments can be set up correctly.
This section provide a quick-start example of the complete workflow for an ONNX model, from quantization to deployment on hardware, to help you understand the basic usage process and get started quickly.
This section, we provide the basic workflow for a PyTorch model, including floating-point model modification, calibration, HBIR export, fixed-point model validation, and deployment on hardware, helping you get started quickly.
This section helps you first distinguish the differences among J6 platforms in quantization strategy, output precision, input and output handling, and deployment capability.
If you are still deciding which quantization path to use, where to start with precision configuration, or how to validate deployment results, it is recommended to read this section first before continuing to the later model compilation and tuning sections.
This section provide an overview of two workflows: ONNX model quantization and PyTorch model quantization based on practical usage scenarios, helping you understand the actual process of model quantization and compilation.
This section focuses on the ONNX model quantization path. It introduces the overall PTQ workflow, core steps, deployment consistency, common problems and troubleshooting methods, and related appendix content, helping you first complete the standard PTQ workflow and then continue with accuracy and deployment-side analysis.
This section focuses on the PyTorch model quantization path. It introduces floating-point model adaptation, QConfig configuration, Prepare, Calibration, QAT training, fixed-point model conversion, Deployment Consistency Analysis, accuracy tuning, and common problems, helping you complete quantization and deployment validation step by step in the actual usage order.
This section provides examples of several common model modification scenarios, together with comparisons of HBIR models before and after modification, to help explain modification methods and precautions.
This section introduces how to run model inference on the X86 simulation platform so that you can understand the usage flow on the X86 simulation platform.
This section provides guidance for inference application development during board-side deployment, along with C++ runtime examples, to help you understand the main steps and precautions for board deployment.
This section introduces Horizon's recommendations and measures for improving model performance when the current performance does not meet expectations, as well as general guidance for efficient model design on J6 platforms.
This section introduces the overall development path on the Horizon platform and how to complete visual processing and deep learning deployment using UCP.
This section introduces the basic knowledge and interfaces for vision processing, helping you call visual operators and use related hardware acceleration.
This section introduces the basic knowledge and interfaces of the high-performance operator library, which packages a set of commonly used high-performance operators for flexible deployment.
This section introduces the quantization pipeline tools provided by the algorithm toolchain, helping you quickly understand how to use the tools in the quantization pipeline and their basic functions..
This section introduces the usage and functions of the accuracy tuning tools available when accuracy drops occur during Quantized Awareness Training with Horizon Plugin PyTorch.