diff --git a/frameworks/native/neural_network_runtime/nncompiled_cache.cpp b/frameworks/native/neural_network_runtime/nncompiled_cache.cpp index 9b02056c7d223c7a9e6f3aeaf568838dd1bf24b2..75cf442fc1e987cc64d7eef29067a90c2080af20 100644 --- a/frameworks/native/neural_network_runtime/nncompiled_cache.cpp +++ b/frameworks/native/neural_network_runtime/nncompiled_cache.cpp @@ -95,10 +95,7 @@ OH_NN_ReturnCode NNCompiledCache::Restore(const std::string& cacheDir, } if (static_cast(version) > cacheInfo.version) { - LOGE("[NNCompiledCache] Restore failed, version is not match. The current version is %{public}u, " - "but the cache files version is %{public}lld.", - version, - cacheInfo.version); + LOGE("[NNCompiledCache] Restore failed, version is not match."); return OH_NN_INVALID_PARAMETER; } diff --git a/frameworks/native/neural_network_runtime/nncompiler.cpp b/frameworks/native/neural_network_runtime/nncompiler.cpp index 725bafbd80caaea1dd89a4511ff78ddd3ea91f6b..cfa7616d61d007a51b494c518b121459c2c0e73d 100644 --- a/frameworks/native/neural_network_runtime/nncompiler.cpp +++ b/frameworks/native/neural_network_runtime/nncompiler.cpp @@ -625,7 +625,7 @@ OH_NN_ReturnCode NNCompiler::RestoreFromCacheFile() return ret; } - LOGI("isUpdatable modelCacheInfo--->%{public}lld", modelCacheInfo.version); + LOGI("isUpdatable modelCacheInfo"); const size_t cacheNumber = caches.size(); uint32_t cacheSize = NUMBER_CACHE_INFO_MEMBERS + cacheNumber;