Remove nnfw default backend configuration accepted/tizen/unified/20191209.144035 accepted/tizen/unified/20191210.051307 submit/tizen/20191209.091506 submit/tizen/20191210.012644 submit/tizen/20191210.033651
authorChunseok Lee <chunseok.lee@samsung.com>
Mon, 9 Dec 2019 08:19:03 +0000 (17:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 9 Dec 2019 09:16:07 +0000 (18:16 +0900)
Now, nnfw will use available backend. Thus, no need to configure default backend manually.

**Self evaluation:**
Test on gbs build:

1. Build test: [*]Passed [ ]Failed []Skipped
2. Run test: [*]Passed [ ]Failed []Skipped

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c

index 896493f..9c4cb78 100644 (file)
@@ -93,13 +93,6 @@ nnfw_open (const GstTensorFilterProperties * prop, void **private_data)
     goto unalloc_exit;
   }
 
-  status = nnfw_set_default_backend(pdata->session, NNFW_DEFAULT_BACKEND);
-  if (status != NNFW_STATUS_NO_ERROR) {
-    err = -ENXIO;
-    g_printerr ("Cannot load the model file: %s", prop->model_file);
-    goto session_exit;
-  }
-
   status = nnfw_load_model_from_file (pdata->session, prop->model_file);
   if (status != NNFW_STATUS_NO_ERROR) {
     err = -EINVAL;