From bcb43a7c0d9ee6d04e103e80e9e522901259bc12 Mon Sep 17 00:00:00 2001 From: zheng-kunfang <1845958389@qq.com> Date: Fri, 11 Jul 2025 19:15:28 +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 8a8e87c..179d9a2 100644 --- a/frameworks/native/neural_network_core/neural_network_core.cpp +++ b/frameworks/native/neural_network_core/neural_network_core.cpp @@ -544,6 +544,7 @@ OH_NN_ReturnCode AuthenticateModel(const Compilation* compilation, bool &isExcee } if (!isExceedRamLimit) { + LOGI("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 0f3b5af..4014a42 100644 --- a/frameworks/native/neural_network_runtime/nncompiler.cpp +++ b/frameworks/native/neural_network_runtime/nncompiler.cpp @@ -468,6 +468,7 @@ OH_NN_ReturnCode NNCompiler::OnlineBuild() return ret; } if (ret == OH_NN_SUCCESS) { + LOGI("[NNCompiler] Build success, restore from cache file."); m_isBuild = true; } -- Gitee