From: Inki Dae Date: Wed, 29 Jun 2022 06:24:35 +0000 (+0900) Subject: [mediavision] Add backend path configuration files X-Git-Tag: submit/tizen/20220629.075411^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F277012%2F1;p=platform%2Fhal%2Fbackend%2Fmedia-config.git [mediavision] Add backend path configuration files [Version] 0.3.47 [Issue Type] Add Added backend configuration path files for c4, rpi3 and vim3 boards. Change-Id: I25f927f125a953e40ea9c2338d41a7d5c2618a37 Signed-off-by: Inki Dae --- diff --git a/media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini new file mode 100644 index 0000000..97b4f0e --- /dev/null +++ b/media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini @@ -0,0 +1,24 @@ +; This ini file describes, +; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API. +; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV. +; In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section. + +; Available NPU backends : VIVANTE, TRIV2 +; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV +; Available external inference engine API framework : MLAPI + +[NPU backend] +; Writing rule = [VIVANTE|TRIV2] +type = VIVANTE + +[TFLITE] +; Writing rule = [MLAPI] +API framework = MLAPI + +[ARMNN] +; Writing rule = [MLAPI] +API framework = + +[OPENCV] +; Writing rule = [MLAPI] +API framework = diff --git a/media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini new file mode 100644 index 0000000..97b4f0e --- /dev/null +++ b/media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini @@ -0,0 +1,24 @@ +; This ini file describes, +; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API. +; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV. +; In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section. + +; Available NPU backends : VIVANTE, TRIV2 +; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV +; Available external inference engine API framework : MLAPI + +[NPU backend] +; Writing rule = [VIVANTE|TRIV2] +type = VIVANTE + +[TFLITE] +; Writing rule = [MLAPI] +API framework = MLAPI + +[ARMNN] +; Writing rule = [MLAPI] +API framework = + +[OPENCV] +; Writing rule = [MLAPI] +API framework = diff --git a/media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini new file mode 100644 index 0000000..97b4f0e --- /dev/null +++ b/media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini @@ -0,0 +1,24 @@ +; This ini file describes, +; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API. +; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV. +; In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section. + +; Available NPU backends : VIVANTE, TRIV2 +; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV +; Available external inference engine API framework : MLAPI + +[NPU backend] +; Writing rule = [VIVANTE|TRIV2] +type = VIVANTE + +[TFLITE] +; Writing rule = [MLAPI] +API framework = MLAPI + +[ARMNN] +; Writing rule = [MLAPI] +API framework = + +[OPENCV] +; Writing rule = [MLAPI] +API framework = diff --git a/packaging/media-config.spec b/packaging/media-config.spec index 88928ca..623777e 100644 --- a/packaging/media-config.spec +++ b/packaging/media-config.spec @@ -2,7 +2,7 @@ Name: media-config Summary: Multimedia Framework system configuration package -Version: 0.3.46 +Version: 0.3.47 Release: 0 Group: Multimedia/Configuration License: LGPL-2.1 and Apache-2.0