reducescatter#
- ray.util.collective.collective.reducescatter(tensor: Any, tensor_list: list, group_name: str = 'default', op: ReduceOp = ReduceOp.SUM)[source]#
Reducescatter a list of tensors across the group.
Reduce the list of the tensors across each process in the group, then scatter the reduced list of tensors – one tensor for each process.