/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/python/distribute/ |
D | strategy_gather_test.py | 130 1, shape=(ctx.replica_id_in_sync_group + 1, 1)) 152 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 180 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 232 return array_ops.ones(shape=(range(1, ctx.replica_id_in_sync_group + 2))) 372 1, shape=(ctx.replica_id_in_sync_group + 1, 1)) 400 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 429 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 497 1, shape=(1, ctx.replica_id_in_sync_group + 1)) 554 return array_ops.ones(shape=(range(1, ctx.replica_id_in_sync_group + 2))) 615 return array_ops.constant([x[ctx.replica_id_in_sync_group]]) [all …]
|
D | distribute_lib.py | 563 replica_id_in_sync_group=0, argument 572 self._replica_id_in_sync_group = replica_id_in_sync_group 581 def replica_id_in_sync_group(self): member in ValueContext 588 .format(self.replica_id_in_sync_group, self.num_replicas_in_sync)) 2907 def __init__(self, strategy, replica_id_in_sync_group): argument 2919 if not (replica_id_in_sync_group is None or 2920 tensor_util.is_tf_type(replica_id_in_sync_group) or 2921 isinstance(replica_id_in_sync_group, int)): 2924 self._replica_id_in_sync_group = replica_id_in_sync_group 2929 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 | summary_op_util.py | 45 replica_id = replica_context.replica_id_in_sync_group
|
D | tpu_strategy.py | 1449 with _TPUReplicaContext(strategy, replica_id_in_sync_group=replica_id): 1523 def _get_local_replica_id(self, replica_id_in_sync_group): argument 1524 return replica_id_in_sync_group 1532 def __init__(self, strategy, replica_id_in_sync_group=0): argument 1534 self, strategy, replica_id_in_sync_group=replica_id_in_sync_group) 1540 replica_id = tensor_util.constant_value(self.replica_id_in_sync_group) 1574 array_ops.expand_dims_v2(self.replica_id_in_sync_group, 0)
|
D | vars_test.py | 337 replica_id = ctx.replica_id_in_sync_group 465 replica_id = ctx.replica_id_in_sync_group 489 replica_id = ctx.replica_id_in_sync_group 510 replica_id = ctx.replica_id_in_sync_group 531 replica_id = ctx.replica_id_in_sync_group 923 replica_id = ctx.replica_id_in_sync_group 959 replica_id = ctx.replica_id_in_sync_group 992 replica_id = ctx.replica_id_in_sync_group 1050 replica_id = ctx.replica_id_in_sync_group 1094 math_ops.equal(replica_ctx.replica_id_in_sync_group,
|
D | distribution_strategy_context.py | 339 _get_default_strategy(), replica_id_in_sync_group=0)
|
D | mirrored_run.py | 249 self.replica_id_in_sync_group = ( 317 self.replica_id_in_sync_group), \
|
D | mirrored_strategy_test.py | 400 return ds_context.get_replica_context().replica_id_in_sync_group 414 return ds_context.get_replica_context().replica_id_in_sync_group 741 ds_context.get_replica_context().replica_id_in_sync_group, 822 ds_context.get_replica_context().replica_id_in_sync_group, 885 ds_context.get_replica_context().replica_id_in_sync_group, 1424 replica_id = ds_context.get_replica_context().replica_id_in_sync_group 1431 replica_id = ds_context.get_replica_context().replica_id_in_sync_group
|
D | distribute_lib_test.py | 76 self._container_strategy(), replica_id_in_sync_group=0): 122 def _get_local_replica_id(self, replica_id_in_sync_group): argument 123 return replica_id_in_sync_group
|
D | parameter_server_strategy.py | 701 def _get_local_replica_id(self, replica_id_in_sync_group): argument 702 return replica_id_in_sync_group
|
D | strategy_test_lib.py | 258 replica_id = ds_context.get_replica_context().replica_id_in_sync_group 292 ds_context.get_replica_context().replica_id_in_sync_group) 614 lambda: ds_context.get_replica_context().replica_id_in_sync_group + 1,
|
D | parameter_server_strategy_v2.py | 722 replica_id_in_sync_group=constant_op.constant(0, dtypes.int32)):
|
D | collective_all_reduce_strategy.py | 933 def _get_local_replica_id(self, replica_id_in_sync_group): argument 934 return (replica_id_in_sync_group -
|
D | mirrored_strategy.py | 857 def _get_local_replica_id(self, replica_id_in_sync_group): argument 858 return replica_id_in_sync_group
|
D | strategy_common_test.py | 58 return ds_context.get_replica_context().replica_id_in_sync_group
|
D | values_test.py | 193 per_replica.append(val * ctx.replica_id_in_sync_group) 239 return multiple_values[ctx.replica_id_in_sync_group] 260 return multiple_values[ctx.replica_id_in_sync_group] 314 worker_device_id = ctx.replica_id_in_sync_group % len(worker_devices)
|
/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/distribute/integration_test/ |
D | saved_model_test.py | 298 lambda ctx: tf.identity([3., 7.][ctx.replica_id_in_sync_group])) 351 lambda ctx: tf.identity([3., 7.][ctx.replica_id_in_sync_group])) 428 lambda ctx: tf.identity([1., 2.][ctx.replica_id_in_sync_group]))
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | keras_optimizer_v2_test.py | 138 replica_id = ds_context.get_replica_context().replica_id_in_sync_group
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scale_test.py | 117 .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/numpy_ops/ |
D | np_interop_test.py | 211 val = np.asarray(ctx.replica_id_in_sync_group)
|