/external/tensorflow/tensorflow/python/distribute/ |
D | strategy_gather_test.py | 128 1, shape=(ctx.replica_id_in_sync_group + 1, 1)) 150 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 178 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 225 return array_ops.ones(shape=(range(1, ctx.replica_id_in_sync_group + 2))) 365 1, shape=(ctx.replica_id_in_sync_group + 1, 1)) 393 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 422 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 490 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 542 return array_ops.ones(shape=(range(1, ctx.replica_id_in_sync_group + 2))) 603 return array_ops.constant([x[ctx.replica_id_in_sync_group]]) [all …]
|
D | distribute_lib.py | 587 replica_id_in_sync_group=0, argument 596 self._replica_id_in_sync_group = replica_id_in_sync_group 605 def replica_id_in_sync_group(self): member in ValueContext 612 .format(self.replica_id_in_sync_group, self.num_replicas_in_sync)) 3028 def __init__(self, strategy, replica_id_in_sync_group): argument 3040 if not (replica_id_in_sync_group is None or 3041 tensor_util.is_tf_type(replica_id_in_sync_group) or 3042 isinstance(replica_id_in_sync_group, int)): 3045 self._replica_id_in_sync_group = replica_id_in_sync_group 3050 replica_id_in_sync_group) [all …]
|
D | one_device_strategy.py | 474 def _get_local_replica_id(self, replica_id_in_sync_group): argument 475 return replica_id_in_sync_group 483 self, strategy, replica_id_in_sync_group=0)
|
D | tpu_strategy.py | 1584 with _TPUReplicaContext(strategy, replica_id_in_sync_group=replica_id): 1661 def _get_local_replica_id(self, replica_id_in_sync_group): argument 1662 return replica_id_in_sync_group 1695 def __init__(self, strategy, replica_id_in_sync_group=0): argument 1697 self, strategy, replica_id_in_sync_group=replica_id_in_sync_group) 1703 replica_id = tensor_util.constant_value(self.replica_id_in_sync_group) 1773 self.replica_id_in_sync_group, self.num_replicas_in_sync) 1801 self.replica_id_in_sync_group, [1])
|
D | summary_op_util.py | 41 replica_id = replica_context.replica_id_in_sync_group
|
D | vars_test.py | 355 replica_id = ctx.replica_id_in_sync_group 491 replica_id = ctx.replica_id_in_sync_group 516 replica_id = ctx.replica_id_in_sync_group 537 replica_id = ctx.replica_id_in_sync_group 558 replica_id = ctx.replica_id_in_sync_group 982 replica_id = ctx.replica_id_in_sync_group 1014 replica_id = ctx.replica_id_in_sync_group 1047 replica_id = ctx.replica_id_in_sync_group 1108 replica_id = ctx.replica_id_in_sync_group 1151 math_ops.equal(replica_ctx.replica_id_in_sync_group,
|
D | values_test.py | 146 per_replica.append(val * ctx.replica_id_in_sync_group) 192 return multiple_values[ctx.replica_id_in_sync_group] 213 return multiple_values[ctx.replica_id_in_sync_group] 273 worker_device_id = ctx.replica_id_in_sync_group % len(worker_devices) 302 return multiple_values[ctx.replica_id_in_sync_group]
|
D | strategy_common_test.py | 54 return ds_context.get_replica_context().replica_id_in_sync_group 179 ds_context.get_replica_context().replica_id_in_sync_group) 192 ds_context.get_replica_context().replica_id_in_sync_group) 427 replica_id = replica_context.replica_id_in_sync_group
|
D | distribution_strategy_context.py | 392 _get_default_strategy(), replica_id_in_sync_group=0)
|
D | mirrored_strategy_test.py | 424 return ds_context.get_replica_context().replica_id_in_sync_group 438 return ds_context.get_replica_context().replica_id_in_sync_group 771 ds_context.get_replica_context().replica_id_in_sync_group, 852 ds_context.get_replica_context().replica_id_in_sync_group, 915 ds_context.get_replica_context().replica_id_in_sync_group, 1463 replica_id = ds_context.get_replica_context().replica_id_in_sync_group 1470 replica_id = ds_context.get_replica_context().replica_id_in_sync_group
|
D | mirrored_run.py | 298 self.replica_id_in_sync_group = ( 380 self.replica_id_in_sync_group), \
|
D | distribute_lib_test.py | 73 self._container_strategy(), replica_id_in_sync_group=0): 119 def _get_local_replica_id(self, replica_id_in_sync_group): argument 120 return replica_id_in_sync_group
|
D | parameter_server_strategy.py | 688 def _get_local_replica_id(self, replica_id_in_sync_group): argument 689 return replica_id_in_sync_group
|
D | strategy_test_lib.py | 275 replica_id = ds_context.get_replica_context().replica_id_in_sync_group 309 ds_context.get_replica_context().replica_id_in_sync_group) 631 lambda: ds_context.get_replica_context().replica_id_in_sync_group + 1,
|
D | collective_all_reduce_strategy.py | 988 def _get_local_replica_id(self, replica_id_in_sync_group): argument 989 return (replica_id_in_sync_group -
|
D | mirrored_strategy.py | 903 def _get_local_replica_id(self, replica_id_in_sync_group): argument 904 return replica_id_in_sync_group
|
D | collective_all_reduce_strategy_test.py | 720 return replica_ctx.replica_id_in_sync_group, replica_ctx._replica_id 768 .replica_id_in_sync_group, dtypes.float32)
|
D | parameter_server_strategy_v2_test.py | 365 ).replica_id_in_sync_group 398 ).replica_id_in_sync_group
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.distribute.experimental.-value-context.pbtxt | 10 name: "replica_id_in_sync_group" 15 …argspec: "args=[\'self\', \'replica_id_in_sync_group\', \'num_replicas_in_sync\'], varargs=None, k…
|
D | tensorflow.distribute.-replica-context.pbtxt | 15 name: "replica_id_in_sync_group" 24 …argspec: "args=[\'self\', \'strategy\', \'replica_id_in_sync_group\'], varargs=None, keywords=None…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.distribute.-replica-context.pbtxt | 15 name: "replica_id_in_sync_group" 24 …argspec: "args=[\'self\', \'strategy\', \'replica_id_in_sync_group\'], varargs=None, keywords=None…
|
/external/tensorflow/tensorflow/python/tpu/tests/ |
D | tpu_embedding_v2_valid_input_test.py | 143 core_id = ctx.replica_id_in_sync_group
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scale_test.py | 113 .replica_id_in_sync_group)
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/g3doc/ |
D | TensorFlow_NumPy_Keras_and_Distribution_Strategy.ipynb | 261 " replica_id = tf.distribute.get_replica_context().replica_id_in_sync_group\n",
|
/external/tensorflow/tensorflow/python/ops/ |
D | stateful_random_ops.py | 206 return rctx.replica_id_in_sync_group
|