[object Object][object Object]

To make it easier to call operators, a set of C-based APIs (with the [object Object] 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 INSTALLDIR/include/aclnnopandthelibraryfileisstoredin{INSTALL_DIR}/include/aclnnop and the library file is stored in{INSTALL_DIR}/lib64.

  • Header files: 1. (Recommended) Method 1: Reference the general header file [object Object] of the operator. 2. Method 2: Reference the header file [object Object] of the single-operator API as required.
  • Library files: Reference the general library file [object Object] of the operator as required.

${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
[object Object][object Object]undefined