Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h410 Result setCachingFromFds(const std::vector<int>& modelCacheFds, in setCachingFromFds() argument
417 mCompilation, modelCacheFds.data(), modelCacheFds.size(), dataCacheFds.data(), in setCachingFromFds()
424 std::vector<int> modelCacheFds, dataCacheFds; in setCachingFromFds() local
426 modelCacheFds.push_back(fd.get()); in setCachingFromFds()
431 return setCachingFromFds(modelCacheFds, dataCacheFds, token); in setCachingFromFds()
/packages/modules/NeuralNetworks/runtime/test/
DSupportLibraryTestGenerated.cpp206 auto modelCacheFds = createCacheFds(modelCacheFilenames); in compileModel() local
208 EXPECT_EQ(compilation1.setCachingFromFds(modelCacheFds, dataCacheFds, mToken), in compileModel()
219 auto modelCacheFds = createCacheFds(modelCacheFilenames); in compileModel() local
221 EXPECT_EQ(compilation2.setCachingFromFds(modelCacheFds, dataCacheFds, mToken), in compileModel()
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h151 const int* modelCacheFds,
962 const int* modelCacheFds,
/packages/modules/NeuralNetworks/runtime/
DCompilationBuilder.cpp155 int CompilationBuilder::setCachingFromFds(const int* modelCacheFds, in setCachingFromFds() argument
164 auto modelCache = createCacheHandleVec(modelCacheFds, numModelCacheFiles); in setCachingFromFds()
DCompilationBuilder.h53 int setCachingFromFds(const int* modelCacheFds, const uint32_t numModelCacheFiles,
DNeuralNetworks.cpp1688 const int* modelCacheFds, in SL_ANeuralNetworksCompilation_setCachingFromFds() argument
1694 if (!compilation || (numModelCacheFiles != 0 && !modelCacheFds) || in SL_ANeuralNetworksCompilation_setCachingFromFds()
1700 return c->setCachingFromFds(modelCacheFds, numModelCacheFiles, dataCacheFds, numDataCacheFiles, in SL_ANeuralNetworksCompilation_setCachingFromFds()