add nntrianer backend support 41/266241/3
authorInki Dae <inki.dae@samsung.com>
Tue, 9 Nov 2021 11:14:01 +0000 (20:14 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 10 Nov 2021 05:46:58 +0000 (14:46 +0900)
[Version] : 0.1.2-2
[Issue type] : new feature

Change-Id: Ic120d1d149058b5d95a48249a08baedada7d359f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/inference-engine-mlapi.spec
src/inference_engine_mlapi.cpp

index f6f46a2..bc4c0e1 100644 (file)
@@ -1,6 +1,6 @@
 Name:       inference-engine-mlapi
 Summary:    ML Single API backend of NNStreamer for MediaVision
-Version:    0.0.2
+Version:    0.1.2
 Release:    2
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 39b24e9..0848741 100644 (file)
@@ -202,6 +202,10 @@ namespace MLAPIImpl
                        }
 
                        break;
+               case INFERENCE_BACKEND_NNTRAINER:
+                       nnfw_type = ML_NNFW_TYPE_NNTR_INF;
+                       nnfw_hw = ML_NNFW_HW_ANY;
+                       break;
                // TODO.
                default:
                        LOGE("Invalid plugin type.");