Function QnnGraph_getProperty¶
Defined in File QnnGraph.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnGraph_getProperty(Qnn_GraphHandle_t graphHandle, QnnGraph_Property_t **properties)¶
A function to get a list of graph properties. Backends are not required to support this API.
- Parameters
graphHandle – [in] A graph handle.
[in/out] – properties Pointer to a null terminated array of pointers containing the properties associated with the passed graphHandle. Memory for this information is owned and managed by the client. Client needs to populate the property options being requested. If graphHandle is not recognized, the pointer properties points to is set to nullptr.
- Returns
Error code:
QNN_SUCCESS: no error is encountered
QNN_GRAPH_ERROR_INVALID_HANDLE: graphHandle is not a valid handle
QNN_GRAPH_ERROR_INVALID_ARGUMENT: properties is NULL or at least one property option is invalid
QNN_GRAPH_ERROR_UNSUPPORTED_FEATURE: at least one valid property option is not supported
Note
Use corresponding API through QnnInterface_t.