diff --git a/frameworks/native/neural_network_core/neural_network_core.cpp b/frameworks/native/neural_network_core/neural_network_core.cpp index 8a8e87c5fb92fe4275113aecbfa5ed54684b62d5..179d9a2fd81fee696e4f7a84d8ad000882ecfaa3 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 0f3b5af16c2c43bd3c966d3f1a83590417e469ba..4014a428bdeb4f3da8e7f475ab131ac479adae66 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; }