Home
last modified time | relevance | path

Searched refs:per_replica_value (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dcross_device_ops.py200 def _simple_reduce(per_replica_value, reduce_to_device, accumulation_fn, argument
203 all_values = per_replica_value.values
220 def _simple_gather(per_replica_value, reduce_to_device, axis): argument
222 all_values = per_replica_value.values
255 def reduce(self, reduce_op, per_replica_value, destinations, options=None): argument
285 if not isinstance(per_replica_value, value_lib.DistributedValues):
286 per_replica_value = _make_tensor_into_per_replica(per_replica_value)
292 per_replica_value.values) == 1 and _devices_match(
293 per_replica_value, destinations):
294 with ops.device(per_replica_value.values[0].device):
[all …]
Dstrategy_gather_test.py279 per_replica_value = strategy.experimental_distribute_values_from_function(
282 def replica_fn(per_replica_value): argument
284 local_value = array_ops.identity(per_replica_value)
291 strategy.run(replica_fn, args=(per_replica_value,)))
354 def replica_fn(per_replica_value): argument
356 return ctx.all_gather(array_ops.identity(per_replica_value), axis=axis)
374 per_replica_value = strategy.experimental_distribute_values_from_function(
390 strategy.run(run, args=(per_replica_value,)))
402 per_replica_value = strategy.experimental_distribute_values_from_function(
418 strategy.run(run, args=(per_replica_value,)))
[all …]
Dcross_device_ops_test.py243 per_replica_value = make_per_replica_value(value_fn, devices)
244 reduced_values = collective.reduce(options.reduce_op, per_replica_value,
245 per_replica_value,
288 per_replica_value = make_per_replica_value(value_fn, devices)
289 value_dst_pairs.append((per_replica_value, per_replica_value))
650 per_replica_value = make_per_replica_value(value, devices)
652 per_replica_value, per_replica_value, axis=axis, options=options)
Dstrategy_common_test.py80 per_replica_value = strategy.experimental_distribute_values_from_function(
86 reduce_util.ReduceOp.SUM, value=per_replica_value, axis=None)
Dvars_test.py178 per_replica_value = values.PerReplica(
195 updates = [("assign", per_replica_value), ("assign_add", per_replica_value),
761 per_replica_value = values.PerReplica(
775 updates = [("assign", per_replica_value)]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.-cross-device-ops.pbtxt27 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
31 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-reduction-to-one-device.pbtxt28 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
32 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-hierarchical-copy-all-reduce.pbtxt29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-nccl-all-reduce.pbtxt29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.-cross-device-ops.pbtxt27 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
31 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-reduction-to-one-device.pbtxt28 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
32 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-nccl-all-reduce.pbtxt29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
Dtensorflow.distribute.-hierarchical-copy-all-reduce.pbtxt29 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…
33 …argspec: "args=[\'self\', \'reduce_op\', \'per_replica_value\', \'destinations\', \'options\'], va…