Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.h235 std::unordered_map<int, NNAPIDelegateKernel*> delegate_state_cache; member
Dnnapi_delegate.cc4785 std::for_each(std::begin(delegate_state_cache), in ~Data()
4786 std::end(delegate_state_cache), in ~Data()
4796 delegate_state_cache.emplace(cache_key, delegate_state); in CacheDelegateKernel()
4802 const auto cached_state = delegate_state_cache.find(cache_key); in MaybeGetCachedDelegateKernel()
4803 if (cached_state != std::end(delegate_state_cache)) { in MaybeGetCachedDelegateKernel()
4805 delegate_state_cache.erase(cached_state); in MaybeGetCachedDelegateKernel()
4964 delegate_data->delegate_state_cache.clear(); in GetNodesSupportedByAccelerator()