Searched refs:get_strategy (Results 1 – 25 of 43) sorted by relevance
12
/external/tensorflow/tensorflow/python/distribute/ |
D | distribute_lib_test.py | 131 t.assertIs(ds_context._get_default_strategy(), ds_context.get_strategy()) 166 self.assertIs(dist, ds_context.get_strategy()) 187 self.assertIs(dist, ds_context.get_strategy()) 202 self.assertIs(dist, ds_context.get_strategy()) 218 self.assertIs(dist, ds_context.get_strategy()) 235 self.assertIs(dist, ds_context.get_strategy()) 267 self.assertIs(dist, ds_context.get_strategy()) 274 self.assertIs(dist2, ds_context.get_strategy()) 301 self.assertIs(dist, ds_context.get_strategy()) 304 self.assertIs(dist, ds_context.get_strategy()) [all …]
|
D | distribution_strategy_context.py | 181 def get_strategy(): function 213 return get_strategy() is not _get_default_strategy() 306 current_strategy = get_strategy() 354 get_distribution_strategy = get_strategy
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | utils.py | 94 if isinstance(distribute_ctx.get_strategy(), 115 if isinstance(distribute_ctx.get_strategy(), 136 if isinstance(distribute_ctx.get_strategy(),
|
D | optimizer_v2.py | 406 self._distribution_strategy = distribute_ctx.get_strategy() 652 strategy = distribute_ctx.get_strategy() 897 strategy = distribute_ctx.get_strategy()
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | distributed_file_utils.py | 88 strategy = distribution_strategy_context.get_strategy() 111 strategy = distribution_strategy_context.get_strategy()
|
D | distributed_training_utils.py | 53 strategy = ds_context.get_strategy()
|
/external/tensorflow/tensorflow/python/training/ |
D | slot_creator.py | 150 distribution_strategy = distribution_strategy_context.get_strategy() 209 distribution_strategy = distribution_strategy_context.get_strategy()
|
D | session_manager.py | 194 strategy = distribution_strategy_context.get_strategy()
|
D | sync_replicas_optimizer.py | 261 distribution_strategy = distribution_strategy_context.get_strategy()
|
D | optimizer.py | 533 num_replicas = distribute_ctx.get_strategy().num_replicas_in_sync 821 distribution_strategy = distribute_ctx.get_strategy()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.distribute.pbtxt | 80 name: "get_strategy"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.distribute.pbtxt | 100 name: "get_strategy"
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scale_test.py | 42 default_strategy_fn = distribution_strategy_context.get_strategy 121 distribution = distribution_strategy_context.get_strategy()
|
D | loss_scale_optimizer_test.py | 44 default_strategy_fn = distribution_strategy_context.get_strategy
|
/external/tensorflow/tensorflow/python/ops/ |
D | stateful_random_ops.py | 453 self._distribution_strategy = ds_context.get_strategy() 465 strat_name = type(ds_context.get_strategy()).__name__ 615 return ds_context.get_strategy().extended.update(
|
D | control_flow_util_v2.py | 280 _is_tpu_strategy(distribution_strategy_context.get_strategy())):
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_benchmark.py | 41 return distribution_strategy_context.get_strategy() # The default strategy
|
D | loss_scale_optimizer.py | 344 distribution = distribution_strategy_context.get_strategy() 798 strategy = distribution_strategy_context.get_strategy() 1174 strategy = distribution_strategy_context.get_strategy()
|
D | loss_scale_optimizer_test.py | 53 default_strategy_fn = distribution_strategy_context.get_strategy 790 distribution_strategy_context.get_strategy(), var, opt, 2)() 856 distribution_strategy_context.get_strategy(), var, opt, 2)() 926 distribution_strategy_context.get_strategy(), var, opt, 2)()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | normalization.py | 298 distribution_strategy_context.get_strategy().extended, 473 with distribution_strategy_context.get_strategy( 507 with distribution_strategy_context.get_strategy( 511 with distribution_strategy_context.get_strategy(
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | input_layer.py | 118 strategy = distribution_strategy_context.get_strategy()
|
D | training.py | 306 self._distribution_strategy = ds_context.get_strategy() 727 return self._distribution_strategy or ds_context.get_strategy() 2581 strategy = ds_context.get_strategy()
|
D | base_layer_utils.py | 801 self._distribute_strategy = distribution_strategy_context.get_strategy()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | losses_utils.py | 329 distribution_strategy_context.get_strategy().num_replicas_in_sync)
|
D | metrics_utils.py | 74 strategy = distribution_strategy_context.get_strategy()
|
12