Learning Wizard
This document provides guidance for developers to use the Ascend Tensor Compiler (ATC) tool to convert a model into an offline model adapted to the Ascend AI Processor. With this document, you will be able to:
- Convert original models from popular frameworks into offline models adapted to the Ascend AI Processor.
- Customize offline models for different requirements based on the given parameters.
- Understand how to configure the AIPP configuration file and how to enable AIPP.
Familiarity with basic Linux commands and a basic understanding of machine learning and deep learning will help you use this document better.
For Beginners
Describes how to convert your model with ATC by taking supported models from different frameworks as examples. |
Describes the tool architecture, workflow, and key terms. |
Describes the fundamental features: converting a model into a .json file, adding support of dynamic batch size or dynamic image size to an offline model, and customizing an offline model with various ATC parameters. |
For Experts
Describes the definition and usage of AIPP with typical samples, including creating an AIPP configuration file based on the given template and generating required images using color space conversion (CSC). |
Describes the single-operator description file, including how to generate a single-operator description file and how to convert such a file into an offline model adapted to the Ascend AI Processor, which can be used to verify the single-operator functionality. |
Describes how to customize a network in scenarios where the ATC tool cannot be directly used to convert a model because the model network contains some undefined operator structures or control flow operators. |