Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/include/nnapi/
DValidation.h54 Result<Version> validate(const CacheToken& cacheToken);
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp77 std::optional<CacheToken> cacheToken; in compile() local
83 cacheToken = CacheToken{}; in compile()
85 std::copy(tokenPtr, tokenPtr + cacheToken->size(), cacheToken->begin()); in compile()
92 device.prepareModel(makeModel, preference, priority, deadline, cacheInfo, cacheToken); in compile()
/packages/modules/NeuralNetworks/common/
DValidation.cpp1151 Result<Version> validateCacheToken(const CacheToken& cacheToken) { in validateCacheToken() argument
1154 return cacheToken == kDefaultCacheToken ? Version::ANDROID_OC_MR1 : Version::ANDROID_Q; in validateCacheToken()
2789 Result<Version> validate(const CacheToken& cacheToken) { in validate() argument
2790 return validateCacheToken(cacheToken); in validate()