Home
last modified time | relevance | path

Searched refs:cross_replica_sum (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/ops/
Dtpu_ops.py92 def cross_replica_sum(x, group_assignment=None, name=None): function
108 return gen_tpu_ops.cross_replica_sum(x, group_assignment, name=name)
150 return [gen_tpu_ops.cross_replica_sum(grad, op.inputs[1]), None]
/external/tensorflow/tensorflow/compiler/xla/service/
Dar_crs_combiner.h91 ArCrsPair(HloInstruction* all_reduce, HloInstruction* cross_replica_sum, in ArCrsPair()
93 : ar(all_reduce), crs(cross_replica_sum), distance(dist) {} in ArCrsPair()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_optimizer.py169 summed_grads_and_vars.append((tpu_ops.cross_replica_sum(
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy.py449 return tpu_ops.cross_replica_sum(value)
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_support.py318 concat_tensor = tpu_ops.cross_replica_sum(local_tensor_with_holes)
352 return [tpu_ops.cross_replica_sum(grad) / num_shards for grad in grads]