Typedef QnnOpPackage_GetInfoFn_t¶
Defined in File QnnOpPackage.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*QnnOpPackage_GetInfoFn_t)(const QnnOpPackage_Info_t **info)¶
Retrieve a QnnOpPackage_Info_t struct from an Op package library describing all operations and optimizations provided by the library.
- Param info
[out] Info object for the library. This pointer shall point to memory owned by the op package library and remain valid until QnnOpPackage_TerminateFn_t is called on the library. The contents of this struct shall not change before QnnOpPackage_TerminateFn_t is called.
- Return
Error code:
QNN_SUCCESS: Info is fetched successfully.
QNN_OP_PACKAGE_ERROR_INVALID_INFO: ‘info’ argument was NULL or invalid.
QNN_OP_PACKAGE_ERROR_GENERAL: Other error occurred.