Struct QnnOpPackage_Info_t

Struct Documentation

struct QnnOpPackage_Info_t

Struct describing the contents of an Op package.

Reported to the backend by QnnOpPackage_GetInfoFn_t.

Public Members

const char *packageName

Op package name. Must not be NULL nor empty string.

const char **operationNames

Array holding names of operations provided by the op package. Must not be NULL. Number of elements in the array is specified with numOperations.

const QnnOpPackage_OperationInfo_t *operationInfo

Array holding backend-defined operation information. This is optional, backend-specific information. Can be NULL. If not NULL, number of elements in the array is specified with numOperations.

uint32_t numOperations

Number of elements in operationNames and operationInfo arrays.

const QnnOpPackage_Optimization_t *optimizations

Array holding backend-defined graph optimizations. This is optional, backend-specific information. Can be NULL. If not NULL, number of elements in the array is specified with numOptimizations.

uint32_t numOptimizations

Number of elements in optimizations array.

const char *sdkBuildId

BuildId (as returned by QnnBackend_getBuildId(), also see QNN_SDK_BUILD_ID) from QNN SDK which was used to create this OpPackage with. Allowed to be NULL.

const Qnn_ApiVersion_t *sdkApiVersion

API Version (as returned by QnnBackend_getApiVersion()) from QNN SDK which was used to create this OpPackage with. Allowed to be NULL.

const QnnOpPackage_PackageInfo_t *packageInfo

Op package level information. Allowed to be NULL.

const Qnn_Version_t *opsetVersion

Version of the set of operations implemented in the op package.

size_t reserved[12]

Reserved for future extensibility. Must be memset to 0.