diff --git a/frameworks/native/neural_network_core/neural_network_core.cpp b/frameworks/native/neural_network_core/neural_network_core.cpp index cfb4642adc1a51e9ac07bc88d695c572b6078d0a..ebf666ed0457fcc708c3c2d3b0496b72eef9bde0 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 f85f23896caeb790076697c8bb046d46641c595d..0300a8f3daadb6ffc4857e0d615a4d40810328f1 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; }