Home
last modified time | relevance | path

Searched refs:get_strategy (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Ddistribution_strategy_context.py175 def get_strategy(): function
201 return get_strategy() is not _get_default_strategy()
241 get_distribution_strategy = get_strategy
Ddistribute_lib_test.py67 t.assertIs(ds_context._get_default_strategy(), ds_context.get_strategy())
83 self.assertIs(dist, ds_context.get_strategy())
104 self.assertIs(dist, ds_context.get_strategy())
139 self.assertIs(dist, ds_context.get_strategy())
Dinput_lib.py624 distribution = distribution_strategy_context.get_strategy()
Dvalues.py418 current_strategy = distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/python/training/
Dslot_creator.py124 distribution_strategy = distribution_strategy_context.get_strategy()
161 distribution_strategy = distribution_strategy_context.get_strategy()
Dsession_manager.py189 strategy = distribution_strategy_context.get_strategy()
Dsync_replicas_optimizer.py263 distribution_strategy = distribution_strategy_context.get_strategy()
Doptimizer.py800 distribution_strategy = distribute_ctx.get_strategy()
/external/tensorflow/tensorflow/python/keras/utils/
Dlosses_utils.py180 distribution_strategy_context.get_strategy().num_replicas_in_sync)
240 distribution_strategy_context.get_strategy().num_replicas_in_sync)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.pbtxt68 name: "get_strategy"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.pbtxt72 name: "get_strategy"
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization.py409 with distribution_strategy_context.get_strategy(
417 with distribution_strategy_context.get_strategy(
482 strategy = distribution_strategy_context.get_strategy()
676 strategy = distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py194 distribution_strategy_context.get_strategy().num_replicas_in_sync)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py541 strategy = distribute_ctx.get_strategy()
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Doptimizer_v2.py838 num_replicas = distribute_ctx.get_strategy().num_replicas_in_sync
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py244 distribution_strategy_context.get_strategy())
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py757 tape.distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/python/keras/
Dbackend.py418 distribution_strategy_context.get_strategy())