[C-Api] framework priority from conf submit/tizen/20210723.070532
authorJaeyun <jy1210.jung@samsung.com>
Mon, 19 Jul 2021 06:51:21 +0000 (15:51 +0900)
committerSangjung Woo <again4you@gmail.com>
Fri, 23 Jul 2021 05:54:01 +0000 (14:54 +0900)
Load framework priority from nnstreamer conf file.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
c/src/nnstreamer-capi-util.c

index 34b63ab..5e6c94f 100644 (file)
@@ -1129,7 +1129,7 @@ ml_validate_model_file (const char *const *model,
    * If detected fw and given nnfw are same, we don't need to check the file extension.
    * If any condition for auto detection is added later, below code also should be updated.
    */
-  fw_name = gst_tensor_filter_detect_framework (model, num_models, FALSE);
+  fw_name = gst_tensor_filter_detect_framework (model, num_models, TRUE);
   detected = ml_get_nnfw_type_by_subplugin_name (fw_name);
   g_free (fw_name);