Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/distribute/
Ddistribution_strategy_context.py76 def _get_per_thread_mode(): function
123 return _get_per_thread_mode().replica_context
157 return _get_per_thread_mode().cross_replica_context
171 return _get_per_thread_mode().cross_replica_context is not None
191 return _get_per_thread_mode().strategy
205 per_thread_mode = _get_per_thread_mode()
Ddistribute_lib.py98 context = _get_per_thread_mode()
127 context = _get_per_thread_mode()
142 context = _get_per_thread_mode()
149 context = _get_per_thread_mode()
1703 _get_per_thread_mode = distribution_strategy_context._get_per_thread_mode # pylint: disable=protec… variable