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

Method IsInitialized

dali/operators/decoder/cache/image_cache_factory.cc:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool ImageCacheFactory::IsInitialized(int device_id) {
55 std::lock_guard<std::mutex> lock(mutex_);
56 return CheckWeakPtr(device_id);
57}
58
59bool ImageCacheFactory::CheckWeakPtr(int device_id) {
60 auto it = caches_.find(device_id);

Callers 2

ShouldSkipImageMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64