Home
last modified time | relevance | path

Searched refs:distribution_strategy_context (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/python/eager/
Dtape.py29 distribution_strategy_context = LazyLoader( variable
65 distribution_strategy_context.get_strategy_and_replica_context())
81 distribution_strategy_context.get_strategy_and_replica_context())
99 distribution_strategy_context.get_strategy_and_replica_context())
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib.py28 from tensorflow.python.distribute import distribution_strategy_context
115 if not distribution_strategy_context.has_strategy():
172 …self._context = distribution_strategy_context._CrossReplicaThreadMode( # pylint: disable=protecte…
864 if distribution_strategy_context.has_strategy():
1387 …self._thread_context = distribution_strategy_context._InReplicaThreadMode( # pylint: disable=prot…
1447distribution_strategy_context._CrossReplicaThreadMode(self._strategy)) # pylint: disable=protecte…
1554 if distribution_strategy_context.has_strategy():
1689 if distribution_strategy_context.has_strategy():
1702 _push_per_thread_mode = distribution_strategy_context._push_per_thread_mode # pylint: disable=prot…
1703 _get_per_thread_mode = distribution_strategy_context._get_per_thread_mode # pylint: disable=protec…
[all …]
Dsummary_op_util.py22 from tensorflow.python.distribute import distribution_strategy_context
40 replica_context = distribution_strategy_context.get_replica_context()
Dvalues.py28 from tensorflow.python.distribute import distribution_strategy_context
247 replica_context = distribution_strategy_context.get_replica_context()
414 if not distribution_strategy_context.has_strategy():
418 current_strategy = distribution_strategy_context.get_strategy()
427 if not distribution_strategy_context.has_strategy():
499 replica_context = distribution_strategy_context.get_replica_context()
566 if distribution_strategy_context.in_cross_replica_context():
666 if distribution_strategy_context.in_cross_replica_context():
695 return distribution_strategy_context.get_replica_context().merge_call(
723 if distribution_strategy_context.in_cross_replica_context():
[all …]
Dinput_lib.py26 from tensorflow.python.distribute import distribution_strategy_context
619 if distribution_strategy_context.in_cross_replica_context():
624 distribution = distribution_strategy_context.get_strategy()
635 distribution_strategy_context.get_replica_context().merge_call(
645 if distribution_strategy_context.in_cross_replica_context():
653 distribution_strategy_context.get_replica_context().merge_call(
D__init__.py25 from tensorflow.python.distribute import distribution_strategy_context
Ddistribute_lib_test.py22 from tensorflow.python.distribute import distribution_strategy_context as ds_context
DBUILD127 "distribution_strategy_context.py",
/external/tensorflow/tensorflow/python/training/
Dslot_creator.py42 from tensorflow.python.distribute import distribution_strategy_context
124 distribution_strategy = distribution_strategy_context.get_strategy()
161 distribution_strategy = distribution_strategy_context.get_strategy()
Dcheckpoint_utils.py24 from tensorflow.python.distribute import distribution_strategy_context
188 if distribution_strategy_context.get_cross_replica_context():
191 distribution_strategy_context.get_replica_context().merge_call(
Dmoving_averages.py20 from tensorflow.python.distribute import distribution_strategy_context
94 replica_context = distribution_strategy_context.get_replica_context()
105 strategy = distribution_strategy_context.get_cross_replica_context()
Ddistribution_strategy_context.py22 from tensorflow.python.distribute.distribution_strategy_context import *
Dsession_manager.py24 from tensorflow.python.distribute import distribution_strategy_context
189 strategy = distribution_strategy_context.get_strategy()
Dsync_replicas_optimizer.py22 from tensorflow.python.distribute import distribution_strategy_context
263 distribution_strategy = distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/python/keras/utils/
Dlosses_utils.py21 from tensorflow.python.distribute import distribution_strategy_context
180 distribution_strategy_context.get_strategy().num_replicas_in_sync)
240 distribution_strategy_context.get_strategy().num_replicas_in_sync)
Dmetrics_utils.py27 from tensorflow.python.distribute import distribution_strategy_context
100 replica_context = distribution_strategy_context.get_replica_context()
/external/tensorflow/tensorflow/contrib/metrics/python/metrics/
Dclassification.py21 from tensorflow.python.distribute import distribution_strategy_context
177 best_f1 = distribution_strategy_context.get_replica_context().merge_call(
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization.py21 from tensorflow.python.distribute import distribution_strategy_context
409 with distribution_strategy_context.get_strategy(
417 with distribution_strategy_context.get_strategy(
481 if distribution_strategy_context.in_cross_replica_context():
482 strategy = distribution_strategy_context.get_strategy()
675 if distribution_strategy_context.in_cross_replica_context():
676 strategy = distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/contrib/distribute/
D__init__.py39 from tensorflow.python.distribute.distribution_strategy_context import *
/external/tensorflow/tensorflow/python/kernel_tests/
Dtemplate_mirrored_strategy_test.py20 from tensorflow.python.distribute import distribution_strategy_context as ds_context
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcombinations.py53 from tensorflow.python.distribute import distribution_strategy_context
350 distribution_strategy_context._get_default_strategy, # pylint: disable=protected-access
Dkeras_optimizer_v2_test.py26 from tensorflow.python.distribute import distribution_strategy_context as ds_context
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py21 from tensorflow.python.distribute import distribution_strategy_context
194 distribution_strategy_context.get_strategy().num_replicas_in_sync)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py28 from tensorflow.python.distribute import distribution_strategy_context
237 if distribution_strategy_context.has_strategy():
242 if distribution_strategy_context.in_cross_replica_context():
244 distribution_strategy_context.get_strategy())
1973 distribution_strategy_context.in_cross_replica_context()):
/external/tensorflow/tensorflow/python/keras/
Doptimizers.py25 from tensorflow.python.distribute import distribution_strategy_context
735 if distribution_strategy_context.has_strategy():

12