From f34c2cdc0bd84111db624e9b7907ada2df40775f Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Tue, 16 Jun 2020 16:47:35 +0900 Subject: [PATCH] Change in-house NN Runtime backend name Official name of NNFW is ONE(On-device Neural Engine) so use it instead of NNFW. Change-Id: I8bdb279451570074f11a85386c6725afe73ceab9 Signed-off-by: Inki Dae --- src/inference_engine_mlapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index 7052b75..a00868a 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -63,7 +63,7 @@ namespace MLAPIImpl inference_backend_type_e type = *(static_cast(data)); - if (INFERENCE_BACKEND_NNFW != type && INFERENCE_BACKEND_MLAPI != type) { + if (INFERENCE_BACKEND_ONE != type && INFERENCE_BACKEND_MLAPI != type) { LOGE("Invalid backend type."); return INFERENCE_ENGINE_ERROR_NOT_SUPPORTED; } @@ -131,7 +131,7 @@ namespace MLAPIImpl // "so library file path,nb model file path" or vise versa. model_str += "," + model_paths[1]; break; - case INFERENCE_BACKEND_NNFW: + case INFERENCE_BACKEND_ONE: nnfw_type = ML_NNFW_TYPE_NNFW; if (mTargetDevice == INFERENCE_TARGET_CPU) { -- 2.7.4