From: Kwanghoon Son Date: Wed, 7 Sep 2022 00:13:52 +0000 (-0400) Subject: Delete UserBuffer custom prop X-Git-Tag: accepted/tizen/unified/20220928.144425^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_7.0_hotfix;p=platform%2Fcore%2Fmultimedia%2Finference-engine-mlapi.git Delete UserBuffer custom prop UserBuffer is not work depends on models. If want to use UserBuffer, check GetFileCustomProp Change-Id: I4361cec2d03e9026ed03597ff2ed340f8b71c70f Signed-off-by: Kwanghoon Son --- diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index f378bd1..645a303 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -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; }