Delete UserBuffer custom prop 17/280917/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060715 accepted/tizen/7.0/unified/hotfix/20221116.105357 accepted/tizen/unified/20220928.144425 tizen_7.0_m2_release
authorKwanghoon Son <k.son@samsung.com>
Wed, 7 Sep 2022 00:13:52 +0000 (20:13 -0400)
committerKwanghoon Son <k.son@samsung.com>
Tue, 13 Sep 2022 23:56:29 +0000 (19:56 -0400)
UserBuffer is not work depends on models.
If want to use UserBuffer, check GetFileCustomProp

Change-Id: I4361cec2d03e9026ed03597ff2ed340f8b71c70f
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
src/inference_engine_mlapi.cpp

index f378bd1..645a303 100644 (file)
@@ -319,23 +319,6 @@ namespace MLAPIImpl
                else
                        custom = "Runtime:DSP";
 
-               if (!mOutputProperty.layers.empty())
-               {
-                       size_t layerSize = mOutputProperty.layers.size();
-                       custom += ",OutputTensor:";
-
-                       for (auto &layer : mOutputProperty.layers)
-                       {
-                               LOGI("output layer name = %s", layer.first.c_str());
-                               custom += layer.first;
-                               if (--layerSize > 0)
-                               {
-                                       custom += ";";
-                               }
-                       }
-                       custom += ",UserBuffer:true";
-               }
-
                return custom;
        }