Typedef QnnOpPackage_FreeOpImplFn_t

Typedef Documentation

typedef Qnn_ErrorHandle_t (*QnnOpPackage_FreeOpImplFn_t)(QnnOpPackage_OpImpl_t opImpl)

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

Param opImpl

[in] Op implementation which should be freed.

Return

Error code:

  • QNN_SUCCESS if Op implementation resources are successfully freed.

  • 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.