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.
In this section, we 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.
In 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.
In this section, we 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.
In this section, we focus on the ONNX model quantization path, introducing 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.
In this section, we focus on the PyTorch model quantization path, introducing 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.
In this section, we provide examples of several common model modification scenarios, together with comparisons of HBIR models before and after modification, to introduce modification methods and precautions.
In this section, we introduce 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.
In this section, we use the public ResNet18 example to provide full-process practice guidance for model quantization and board deployment using the PTQ scheme in several typical scenarios, helping you understand the entire workflow of an algorithm model from preparation to board deployment.
This section lists the supported operator ranges on different computing platforms of the Horizon J6 series, and provides related content such as operator types, operator constraint conditions, and general usage restrictions for your reference during use.
License Agreement and Third-party Software Vulnerability Notes