case INFERENCE_BACKEND_ONE:
case INFERENCE_BACKEND_ARMNN:
case INFERENCE_BACKEND_TFLITE:
+ case INFERENCE_BACKEND_SNPE:
if (mPluginType == INFERENCE_BACKEND_ONE) {
nnfw_type = ML_NNFW_TYPE_NNFW;
LOGI("TFLITE tensor filter will be used.");
}
+ if (mPluginType == INFERENCE_BACKEND_SNPE) {
+ nnfw_type = ML_NNFW_TYPE_SNPE;
+ nnfw_hw = ML_NNFW_HW_ANY;
+ LOGI("SNPE tensor filter will be used.");
+ }
+
if (access(model_str.c_str(), R_OK)) {
LOGE("model file path in [%s]", model_str.c_str());
return INFERENCE_ENGINE_ERROR_INVALID_PATH;