Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DManager.cpp116 const std::optional<CacheToken>& maybeToken) const override;
435 const std::optional<CacheToken>& maybeToken) const { in prepareModel()
437 if (maybeToken.has_value()) { in prepareModel()
438 auto result = prepareModelFromCacheInternal(deadline, cacheInfo, *maybeToken); in prepareModel()
450 if (maybeToken.has_value()) { in prepareModel()
452 getCacheHandles(cacheInfo, *maybeToken, kInterface->getNumberOfCacheFilesNeeded(), in prepareModel()
464 const CacheToken token = maybeToken.value_or(kNullToken); in prepareModel()
866 const std::optional<CacheToken>& maybeToken) const override;
982 const std::optional<CacheToken>& maybeToken) const { in prepareModel()
983 CHECK(!maybeToken.has_value()) in prepareModel()
DManager.h153 const std::optional<CacheToken>& maybeToken) const = 0;
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp55 } else if (const auto* maybeToken = std::get_if<Request::MemoryDomainToken>(&pool)) { in createRunTimePoolInfos() local
56 auto bufferWrapper = bufferTracker.get(*maybeToken); in createRunTimePoolInfos()