Searched refs:in_cross_replica_context (Results 1 – 23 of 23) sorted by relevance
/external/tensorflow/tensorflow/python/distribute/ |
D | values.py | 670 if ds_context.in_cross_replica_context(): 920 if ds_context.in_cross_replica_context(): 1157 if (ds_context.in_cross_replica_context() and 1170 if (ds_context.in_cross_replica_context() and 1183 if (ds_context.in_cross_replica_context() and 1236 if (ds_context.in_cross_replica_context() and 1263 if ds_context.in_cross_replica_context(): 1391 if (ds_context.in_cross_replica_context() and 1401 if ds_context.in_cross_replica_context(): 1428 if (ds_context.in_cross_replica_context() and [all …]
|
D | values_util.py | 187 if ds_context.in_cross_replica_context(): 199 if ds_context.in_cross_replica_context(): 212 if ds_context.in_cross_replica_context():
|
D | distribute_lib_test.py | 130 t.assertFalse(ds_context.in_cross_replica_context()) 164 self.assertFalse(ds_context.in_cross_replica_context()) 185 self.assertTrue(ds_context.in_cross_replica_context()) 265 self.assertTrue(ds_context.in_cross_replica_context()) 449 self.assertTrue(ds_context.in_cross_replica_context())
|
D | distribution_strategy_context.py | 156 def in_cross_replica_context(): function
|
D | ps_values.py | 90 if ds_context.in_cross_replica_context():
|
D | input_lib.py | 2064 if distribution_strategy_context.in_cross_replica_context(): 2092 if distribution_strategy_context.in_cross_replica_context():
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | distributed_training_utils.py | 57 if ((not is_tpu) and strategy and ds_context.in_cross_replica_context()):
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.distribute.pbtxt | 88 name: "in_cross_replica_context"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.distribute.pbtxt | 108 name: "in_cross_replica_context"
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scaling_gradient_tape.py | 166 if distribution_strategy_context.in_cross_replica_context():
|
D | loss_scale_optimizer.py | 178 if distribution_strategy_context.in_cross_replica_context():
|
/external/tensorflow/tensorflow/python/distribute/coordinator/ |
D | cluster_coordinator_test.py | 925 self.assertFalse(distribution_strategy_context.in_cross_replica_context()) 927 self.assertTrue(distribution_strategy_context.in_cross_replica_context()) 936 distribution_strategy_context.in_cross_replica_context())
|
/external/tensorflow/tensorflow/python/training/ |
D | moving_averages.py | 183 assert distribution_strategy_context.in_cross_replica_context(), (
|
D | optimizer.py | 571 if distribute_ctx.in_cross_replica_context():
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | metrics_utils.py | 82 and not distribution_strategy_context.in_cross_replica_context()):
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_v1.py | 357 if distribution_strategy_context.in_cross_replica_context(): 1064 distribution_strategy_context.in_cross_replica_context()): 1146 distribution_strategy_context.in_cross_replica_context()): 1201 distribution_strategy_context.in_cross_replica_context()):
|
D | base_layer_utils.py | 250 distribution_strategy_context.in_cross_replica_context() and
|
D | base_layer_v1.py | 1184 ds_context.in_cross_replica_context() and
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_impl.py | 436 if ds.has_strategy() and ds.in_cross_replica_context(): 479 if ds.has_strategy() and ds.in_cross_replica_context():
|
D | stateful_random_ops.py | 610 if ds_context.in_cross_replica_context():
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 3166 (parent_graph, device_functions, colocation_stack, in_cross_replica_context, 3170 colocation_stack, in_cross_replica_context, variable_policy, 3223 in_cross_replica_context = False 3225 …in_cross_replica_context = (strategy_stack[-1].replica_context is None) # pylint: disable=protect… 3236 in_cross_replica_context, variable_policy, xla_context_id)
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_optimizer.py | 703 if distribution_strategy_context.in_cross_replica_context():
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | optimizer_v2.py | 646 if distribute_ctx.in_cross_replica_context():
|