Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/eager/
Dcontext.py271 self._thread_local_data = _ThreadLocalData()
456 ctx = self._thread_local_data
476 return self._thread_local_data.is_eager
480 return self._thread_local_data.scalar_cache
484 return self._thread_local_data.ones_rank_cache
488 return self._thread_local_data.zeros_cache
493 return self._thread_local_data.scope_name
498 self._thread_local_data.scope_name = s
503 return self._thread_local_data.summary_writer
508 self._thread_local_data.summary_writer = writer
[all …]
/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py172 if _thread_local_data.run_eagerly is not None:
220 _thread_local_data = threading.local() variable
221 _thread_local_data.model_type = None
222 _thread_local_data.run_eagerly = None
237 previous_value = _thread_local_data.model_type
239 _thread_local_data.model_type = value
243 _thread_local_data.model_type = previous_value
259 previous_value = _thread_local_data.run_eagerly
261 _thread_local_data.run_eagerly = value
265 _thread_local_data.run_eagerly = previous_value
[all …]
/external/tensorflow/tensorflow/python/framework/
Dops.py5726 c._thread_local_data.is_eager = False # pylint: disable=protected-access