Change in-house NN Runtime backend name 22/236322/1
authorInki Dae <inki.dae@samsung.com>
Tue, 16 Jun 2020 07:47:35 +0000 (16:47 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 16 Jun 2020 07:47:35 +0000 (16:47 +0900)
Official name of NNFW is ONE(On-device Neural Engine)
so use it instead of NNFW.

Change-Id: I8bdb279451570074f11a85386c6725afe73ceab9
Signed-off-by: Inki Dae <inki.dae@samsung.com>
src/inference_engine_mlapi.cpp

index 7052b75..a00868a 100644 (file)
@@ -63,7 +63,7 @@ namespace MLAPIImpl
                inference_backend_type_e type =
                                *(static_cast<inference_backend_type_e *>(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) {