Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/pyct/
Dtranspiler.py430 def _cached_factory(self, fn, cache_subkey): argument
431 cached_factory = self._cache[fn][cache_subkey]
432 logging.log(3, 'Cache hit for %s subkey %s: %s', fn, cache_subkey,
455 cache_subkey = self.get_caching_key(user_context)
457 if self._cache.has(fn, cache_subkey):
459 factory = self._cached_factory(fn, cache_subkey)
464 if self._cache.has(fn, cache_subkey):
465 factory = self._cached_factory(fn, cache_subkey)
468 logging.log(1, '%s is not cached for subkey %s', fn, cache_subkey)
492 self._cache[fn][cache_subkey] = factory