Searched refs:_thread_local_data (Results 1 – 3 of 3) sorted by relevance
271 self._thread_local_data = _ThreadLocalData()456 ctx = self._thread_local_data476 return self._thread_local_data.is_eager480 return self._thread_local_data.scalar_cache484 return self._thread_local_data.ones_rank_cache488 return self._thread_local_data.zeros_cache493 return self._thread_local_data.scope_name498 self._thread_local_data.scope_name = s503 return self._thread_local_data.summary_writer508 self._thread_local_data.summary_writer = writer[all …]
172 if _thread_local_data.run_eagerly is not None:220 _thread_local_data = threading.local() variable221 _thread_local_data.model_type = None222 _thread_local_data.run_eagerly = None237 previous_value = _thread_local_data.model_type239 _thread_local_data.model_type = value243 _thread_local_data.model_type = previous_value259 previous_value = _thread_local_data.run_eagerly261 _thread_local_data.run_eagerly = value265 _thread_local_data.run_eagerly = previous_value[all …]
5726 c._thread_local_data.is_eager = False # pylint: disable=protected-access