MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / has

Method has

tensorflow/python/autograph/impl/conversion.py:112–115  ·  view source on GitHub ↗
(self, key, subkey)

Source from the content-addressed store, hash-verified

110 self._cache = weakref.WeakKeyDictionary()
111
112 def has(self, key, subkey):
113 if key not in self._cache:
114 return False
115 return subkey in self._cache[key]
116
117 def __getitem__(self, key):
118 if key not in self._cache:

Callers 2

_convert_with_cacheFunction · 0.80
check_cached_unconvertedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected