From f4927fedc6f6eb820ac0391dea57c1283f15746f Mon Sep 17 00:00:00 2001 From: zheng-kunfang <1845958389@qq.com> Date: Wed, 30 Jul 2025 16:10:20 +0800 Subject: [PATCH] =?UTF-8?q?DLSA=E6=97=A5=E5=BF=97=E6=95=B4=E6=94=B9?= 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_core/neural_network_core.cpp | 1 + frameworks/native/neural_network_runtime/nncompiler.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/frameworks/native/neural_network_core/neural_network_core.cpp b/frameworks/native/neural_network_core/neural_network_core.cpp index cfb4642..ebf666e 100644 --- a/frameworks/native/neural_network_core/neural_network_core.cpp +++ b/frameworks/native/neural_network_core/neural_network_core.cpp @@ -629,6 +629,7 @@ OH_NN_ReturnCode AuthenticateModel(const Compilation* compilation, bool &isExcee } if (!isExceedRamLimit) { + LOGD("Model accupy memory less then limit, no need authenticating"); return OH_NN_SUCCESS; // If model ram is less than max limit, no need authenticating. } diff --git a/frameworks/native/neural_network_runtime/nncompiler.cpp b/frameworks/native/neural_network_runtime/nncompiler.cpp index f85f238..0300a8f 100644 --- a/frameworks/native/neural_network_runtime/nncompiler.cpp +++ b/frameworks/native/neural_network_runtime/nncompiler.cpp @@ -473,6 +473,7 @@ OH_NN_ReturnCode NNCompiler::OnlineBuild() return ret; } if (ret == OH_NN_SUCCESS) { + LOGD("[NNCompiler] Build success, restore from cache file."); m_isBuild = true; } -- Gitee