Searched refs:get_strategy (Results 1 – 25 of 43) sorted by relevance
12
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | utils.py | 38 …reduced = distribute_ctx.get_strategy().extended._replica_ctx_all_reduce( # pylint: disable=prote… 91 if isinstance(distribute_ctx.get_strategy(), 112 if isinstance(distribute_ctx.get_strategy(), 133 if isinstance(distribute_ctx.get_strategy(), 156 strategy = distribute_ctx.get_strategy()
|
D | optimizer_v2.py | 397 self._distribution_strategy = distribute_ctx.get_strategy() 654 strategy = distribute_ctx.get_strategy() 903 strategy = distribute_ctx.get_strategy()
|
/external/tensorflow/tensorflow/python/distribute/ |
D | distribute_lib_test.py | 128 t.assertIs(ds_context._get_default_strategy(), ds_context.get_strategy()) 163 self.assertIs(dist, ds_context.get_strategy()) 184 self.assertIs(dist, ds_context.get_strategy()) 199 self.assertIs(dist, ds_context.get_strategy()) 215 self.assertIs(dist, ds_context.get_strategy()) 232 self.assertIs(dist, ds_context.get_strategy()) 264 self.assertIs(dist, ds_context.get_strategy()) 271 self.assertIs(dist2, ds_context.get_strategy()) 298 self.assertIs(dist, ds_context.get_strategy()) 301 self.assertIs(dist, ds_context.get_strategy()) [all …]
|
D | distribution_strategy_context.py | 234 def get_strategy(): function 266 return get_strategy() is not _get_default_strategy() 359 current_strategy = get_strategy() 407 get_distribution_strategy = get_strategy
|
D | merge_call_interim.py | 25 strategy = distribution_strategy_context.get_strategy()
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | distributed_file_utils.py | 85 strategy = distribution_strategy_context.get_strategy() 108 strategy = distribution_strategy_context.get_strategy()
|
D | distributed_training_utils.py | 52 strategy = ds_context.get_strategy()
|
/external/tensorflow/tensorflow/python/training/ |
D | slot_creator.py | 151 distribution_strategy = distribution_strategy_context.get_strategy() 210 distribution_strategy = distribution_strategy_context.get_strategy()
|
D | session_manager.py | 213 strategy = distribution_strategy_context.get_strategy()
|
D | sync_replicas_optimizer.py | 258 distribution_strategy = distribution_strategy_context.get_strategy()
|
D | optimizer.py | 617 num_replicas = distribute_ctx.get_strategy().num_replicas_in_sync 914 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 | 108 name: "get_strategy"
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scale_test.py | 38 default_strategy_fn = distribution_strategy_context.get_strategy 117 distribution = distribution_strategy_context.get_strategy()
|
D | loss_scale_optimizer_test.py | 39 default_strategy_fn = distribution_strategy_context.get_strategy
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_optimizer.py | 229 distribution = distribution_strategy_context.get_strategy() 716 strategy = distribution_strategy_context.get_strategy() 1112 strategy = distribution_strategy_context.get_strategy()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer_utils.py | 798 self._distribute_strategy = distribution_strategy_context.get_strategy() 871 self._distribute_strategy = distribution_strategy_context.get_strategy()
|
D | input_layer.py | 115 strategy = distribution_strategy_context.get_strategy()
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_util_v2.py | 288 _is_tpu_strategy(distribution_strategy_context.get_strategy())):
|
D | stateful_random_ops.py | 439 self._distribution_strategy = ds_context.get_strategy() 613 return ds_context.get_strategy().extended.update(
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | metrics_utils.py | 76 strategy = distribution_strategy_context.get_strategy() 144 not distribution_strategy_context.get_strategy(
|
D | losses_utils.py | 338 distribution_strategy_context.get_strategy().num_replicas_in_sync)
|
/external/tensorflow/tensorflow/python/tpu/tests/ |
D | tpu_embedding_v2_optimizer_test.py | 149 strategy = distribution_strategy_context.get_strategy()
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_embedding_for_serving.py | 113 self._strategy = distribution_strategy_context.get_strategy()
|
D | tpu_embedding_v1.py | 134 self._strategy = distribution_strategy_context.get_strategy()
|
12