[object Object][object Object]

To make it easier to call operators, a set of C-based APIs (with the aclnn prefix) are provided. You do not need to provide the Intermediate Representation (IR) definition to facilitate efficient model and application development. This method is called single-operator API calling, or aclnn calling for short.

When calling operator APIs, you need to reference the dependency header file and library file. Generally, the header file is stored in [object Object] and the library file is stored in [object Object].

  • Header file: 1. (Recommended) Reference the general operator header file aclnn_ops_${ops_project}.h. 2. Reference a single-operator API header file aclnn_*.h as needed.
  • Library file: Reference the general operator library file libopapi_${ops_project}.so as needed.

${INSTALL_DIR} indicates the file path after CANN is installed. ${ops_project} indicates an operator repository (such as math, nn, cv, and transformer). Set this parameter to the actual operator repository name.

[object Object]
[object Object]

The following table lists the operator APIs.

[object Object]undefined