Searched refs:gather_devices (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/distribute/ |
D | all_reduce.py | 552 def build_shuffle_all_reduce(input_tensors, gather_devices, red_op, un_op=None): argument 578 reduced_shards = _build_shuffle_gather(input_tensors, gather_devices, 586 def _build_shuffle_gather(input_tensors, gather_devices, red_op, un_op=None): argument 603 num_gather_devices = len(gather_devices) 614 with ops.device(gather_devices[d]): 788 def build_nccl_then_shuffle(input_tensors, gather_devices, nccl_red_op, argument 792 return build_shuffle_all_reduce(x, gather_devices, shuffle_red_op, un_op) 797 def _build_shuffle_hybrid(input_tensors, gather_devices, red_op, upper_level_f): argument 820 if len(gather_devices) != num_workers: 825 per_worker_values[w], [gather_devices[w]], red_op) [all …]
|
D | all_reduce_test.py | 192 gather_devices = ["/replica:0/task:0/device:CPU:0" 195 x, gather_devices, math_ops.add_n, un_op)
|