Typedef QnnOpPackage_ValidateOpConfigFn_t¶
Defined in File QnnOpPackage.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*QnnOpPackage_ValidateOpConfigFn_t)(Qnn_OpConfig_t opConfig)¶
Verifies that this op with the specified config can be successfully executed.
- Param opConfig
[in] Op configuration in question.
- Return
error code:
QNN_SUCCESS if validation is successful
QNN_OP_PACKAGE_ERROR_VALIDATION_FAILURE: op config validation failed
QNN_OP_PACKAGE_ERROR_UNSUPPORTED_FEATURE: Validation API not supported
Note
inputTensors and outputTensors inside opConfig must be fully qualified for complete validation. However, their unique IDs (id) are ignored during validation.