Add UserBuffer to customOp with true 28/273028/1 submit/tizen_6.5/20220404.012322
authorTae-Young Chung <ty83.chung@samsung.com>
Wed, 30 Mar 2022 01:18:26 +0000 (10:18 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Wed, 30 Mar 2022 01:18:30 +0000 (10:18 +0900)
[Version] 0.0.5-0
[Issue type] bug fix

In mlapi, snpe filter causes segfault while handling multiple outputs
and the UserBuffer customOp is a solution for the issue.
This commit is for inference-engine-mlapi to apply UserBuffer customOp to mlapi.
Note that the UserBuffer customOp is valid only for snpe.
If an invalid customOp is given, for example the UserBuffer customOp for
tflite, mlapi ignore it.

Change-Id: Id8bb0e3a83b8b72b73258dd1c8e1325bf3532650
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/inference-engine-mlapi.spec
src/inference_engine_mlapi.cpp

index 6628d6dabb5ab9b22feef9e4f2202d59f6ae6877..b2c72fdbc9fd708834811972297522c4eeedff9c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       inference-engine-mlapi
 Summary:    ML Single API backend of NNStreamer for MediaVision
-Version:    0.0.4
+Version:    0.0.5
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 56bafe9db010e73a2bd546d629137b3364dc538c..2473a8cbd1926d7a594acd6431ee4278a292cff4 100644 (file)
@@ -314,6 +314,8 @@ namespace MLAPIImpl
                                        custom += ";";
                                }
                        }
+
+                       custom += ",UserBuffer:true";
                }
 
                return custom;