API Introduction
Overview
To accelerate the release of model computing power, Compute Architecture for Neural Networks (CANN) provides the Ascend Operator Library (AOL). This library provides a series of optimized high-performance operator APIs, which are Ascend AI Processor affinity. The call process is shown in Figure 1. Developers can directly call the library APIs to enable model innovation and application, further improving development efficiency and obtaining ultimate model performance.
API Description
This document describes the definitions, functions, parameters, restrictions, and call examples of operator APIs in different domains, allowing developers to quickly call operator APIs. In addition, the operator specifications defined by the intermediate representation (IR) of different frameworks are provided for developers to build network models.
- For details about the product models supported by the operator APIs or operator specifications/list, see Table 2.
- Developers are not advised to use scenarios that are not specified in the operator APIs or operator specifications/list (such as product models, data types, data formats, and data dimensions). The call effect is not guaranteed in the current version.
- Various exceptions may occur during the operator API call. You can see "Troubleshooting Cases > Operator Execution Issues" in Troubleshooting. This chapter provides typical and frequent operator execution problems to allow developers to locate and solve problems.
|
Product Model |
NN Operator APIs |
Fused Operator APIs |
DVPP Operator APIs |
CANN Operator Specifications |
TensorFlow Operator List |
Caffe Operator List |
ONNX Operator List |
|---|---|---|---|---|---|---|---|
|
|
x |
x |
x |
√ |
√ |
√ |
√ |
|
|
√ (Partially supported) |
x |
x |
√ |
√ |
√ |
√ |
