MCPcopy Create free account
hub / github.com/NVIDIA/DALI / UpdateCache

Method UpdateCache

dali/operators/reader/loader/numpy_loader.cc:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void NumpyHeaderCache::UpdateCache(const string &file_name, const numpy::HeaderData &value) {
44 if (cache_headers_) {
45 std::unique_lock<std::mutex> cache_lock(cache_mutex_);
46 header_cache_[file_name] = value;
47 }
48}
49
50} // namespace detail
51

Callers 2

ReadSampleMethod · 0.80
ReadHeaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected