Home
last modified time | relevance | path

Searched refs:numCacheFiles (Results 1 – 1 of 1) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DManager.cpp417 uint32_t numCacheFiles, const std::string& baseFilename, bool createIfNotExist) { in createCacheHandleVec() argument
418 CHECK(numCacheFiles <= kMaxNumberOfCacheFiles); in createCacheHandleVec()
420 handles.reserve(numCacheFiles); in createCacheHandleVec()
421 for (uint32_t i = 0; i < numCacheFiles; i++) { in createCacheHandleVec()
433 const std::pair<uint32_t, uint32_t>& numCacheFiles, bool createIfNotExist) { in getCacheHandles() argument
435 if (cacheHandles->modelCache.size() != numCacheFiles.first) { in getCacheHandles()
437 << "Expected " << numCacheFiles.first << " model cache handles, got " in getCacheHandles()
440 if (cacheHandles->dataCache.size() != numCacheFiles.second) { in getCacheHandles()
442 << "Expected " << numCacheFiles.second << " data cache handles, got " in getCacheHandles()
463 NN_TRY(createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist)); in getCacheHandles()
[all …]