Searched refs:maybeToken (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 158 const std::optional<CacheToken>& maybeToken, 487 const std::optional<CacheToken>& maybeToken, const std::vector<TokenValuePair>& metaData, in prepareModel() argument 490 if (maybeToken.has_value()) { in prepareModel() 491 auto result = prepareModelFromCacheInternal(deadline, cacheInfo, *maybeToken); in prepareModel() 504 if (maybeToken.has_value()) { in prepareModel() 506 getCacheHandles(cacheInfo, *maybeToken, kInterface->getNumberOfCacheFilesNeeded(), in prepareModel() 518 const CacheToken token = maybeToken.value_or(kNullToken); in prepareModel() 897 const std::optional<CacheToken>& maybeToken, 1029 const std::optional<CacheToken>& maybeToken, in prepareModel() argument 1032 CHECK(!maybeToken.has_value()) in prepareModel()
|
D | Manager.h | 156 const std::optional<CacheToken>& maybeToken,
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalPreparedModel.cpp | 55 } else if (const auto* maybeToken = std::get_if<Request::MemoryDomainToken>(&pool)) { in createRunTimePoolInfos() local 56 auto bufferWrapper = bufferTracker.get(*maybeToken); in createRunTimePoolInfos()
|