Typedef QnnOpPackage_FreeOpImplHandleFn_t

Typedef Documentation

typedef Qnn_ErrorHandle_t (*QnnOpPackage_FreeOpImplHandleFn_t)(Qnn_OpPackageHandle_t opPackage, QnnOpPackage_OpImpl_t opImpl)

Free the resources associated with Op implementation previously allocated by QnnOpPackage_CreateOpImplFn_t.

Param opPackage

[in] An op package handle.

Param opImpl

[in] Op implementation which should be freed.

Return

Error code:

  • QNN_SUCCESS No error encountered.

  • QNN_OP_PACKAGE_ERROR_INVALID_HANDLE: opPackage is not a valid handle.

  • QNN_OP_PACKAGE_ERROR_INVALID_ARGUMENT: opImpl argument was NULL.

  • QNN_OP_PACKAGE_ERROR_UNSUPPORTED_FEATURE: API not supported.

  • QNN_OP_PACKAGE_ERROR_GENERAL: Other error occurred.