Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py258 if _thread_local_data.run_eagerly is not None:
313 _thread_local_data = threading.local() variable
314 _thread_local_data.model_type = None
315 _thread_local_data.run_eagerly = None
316 _thread_local_data.saved_model_format = None
317 _thread_local_data.save_kwargs = None
332 previous_value = _thread_local_data.model_type
334 _thread_local_data.model_type = value
338 _thread_local_data.model_type = previous_value
354 previous_value = _thread_local_data.run_eagerly
[all …]
/external/tensorflow/tensorflow/python/eager/
Dcontext.py402 self._thread_local_data = pywrap_tfe.EagerContextThreadLocalData(
810 ctx = self._thread_local_data
827 return self._thread_local_data.is_eager
840 return self._thread_local_data.scope_name
845 self._thread_local_data.scope_name = s
850 return self._thread_local_data.device_name
855 return self._thread_local_data.device_spec
858 self._thread_local_data.device_name = device_name
859 self._thread_local_data.device_spec = device_spec
913 self._thread_local_data.executor = executor_new
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_run.py350 eager_context_state = ctx._thread_local_data # pylint: disable=protected-access
356 eager_context_state = ctx._thread_local_data # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/framework/
Dops.py5901 c._thread_local_data.is_eager = False # pylint: disable=protected-access
5970 context._context._thread_local_data.is_eager = True