Common API Return Codes
The following table describes the common return codes. To obtain error messages, call the aclGetRecentErrMsg API. You can rectify faults based on the error messages or contact technical support.
|
Return Code |
Value |
Description |
|---|---|---|
|
ACLNN_SUCCESS |
0 |
Success |
|
ACLNN_ERR_PARAM_NULLPTR |
161001 |
Parameter verification error. Parameters contain null pointers, which are invalid. |
|
ACLNN_ERR_PARAM_INVALID |
161002 |
Parameter verification error. For example, the two input data types do not meet the data type deduction requirements. |
|
ACLNN_ERR_RUNTIME_ERROR |
361001 |
A memory error occurs when the NPU Runtime API is called. |
|
ACLNN_ERR_INNER_XXX |
561xxx |
Internal API exception. Common cases are:
|
Parent topic: Common APIs