Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_api_dispatcher.cc220 for (const auto& pair : py_class_cache_) { in ~PyInstanceChecker()
228 auto it = py_class_cache_.find(type); in Check()
229 if (it != py_class_cache_.end()) { in Check()
249 if (py_class_cache_.size() < kMaxItemsInCache) { in Check()
251 auto insert_result = py_class_cache_.insert({type, result}); in Check()
H A Dpython_api_dispatcher.h216 size_t cache_size() const { return py_class_cache_.size(); } in cache_size()
225 absl::flat_hash_map<PyTypeObject*, MatchType> py_class_cache_; variable