Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dprogram_cache.cc88 absl::Span<const uint8_t> serialized_cache) { in AddSerializedCache() argument
89 flatbuffers::Verifier verifier(serialized_cache.data(), in AddSerializedCache()
90 serialized_cache.size()); in AddSerializedCache()
95 auto model = data::GetCompiledCache(serialized_cache.data()); in AddSerializedCache()
123 const CLDevice& device, std::vector<uint8_t>* serialized_cache) const { in GetSerializedCache()
141 size_t next_element = serialized_cache->size(); in GetSerializedCache()
142 serialized_cache->resize(serialized_cache->size() + builder.GetSize()); in GetSerializedCache()
143 std::memcpy(&(*serialized_cache)[next_element], builder.GetBufferPointer(), in GetSerializedCache()
Dprogram_cache.h56 absl::Span<const uint8_t> serialized_cache);
58 std::vector<uint8_t>* serialized_cache) const;