From a8942bf499361f1fd2b9a917d03327cfdb9d1b84 Mon Sep 17 00:00:00 2001 From: zheng-kunfang <1845958389@qq.com> Date: Tue, 15 Jul 2025 19:12:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=89=E8=B5=B7=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zheng-kunfang <1845958389@qq.com> --- frameworks/native/neural_network_runtime/nnexecutor.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frameworks/native/neural_network_runtime/nnexecutor.cpp b/frameworks/native/neural_network_runtime/nnexecutor.cpp index 08e760b..0b3a700 100644 --- a/frameworks/native/neural_network_runtime/nnexecutor.cpp +++ b/frameworks/native/neural_network_runtime/nnexecutor.cpp @@ -1476,15 +1476,6 @@ OH_NN_ReturnCode NNExecutor::SetDeinitModelCallBack() return static_cast(ret); } - auto _ret = GetModelID(originHiaiModelId_); - if (_ret != OH_NN_SUCCESS) { - LOGW("GetModelID failed, some error happen when get model id for device."); - } - - uint32_t modelId; - GetModelID(modelId); - LOGI("manualload pid=%{public}d originHiaiModelId=%{public}d hiaiModelId=%{public}d", - getpid(), originHiaiModelId_, modelId); return OH_NN_SUCCESS; } -- Gitee