Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dconstant_op.py105 scalar_cache = ctx.scalar_cache()
106 tensor = scalar_cache.get(cache_key, None)
111 scalar_cache[cache_key] = t
/external/tensorflow/tensorflow/python/eager/
Dcontext.py148 self.scalar_cache = {}
364 self.scalar_cache().clear()
478 def scalar_cache(self): member in Context
480 return self._thread_local_data.scalar_cache