broadcast#
- composer.utils.dist.broadcast(tensor, src)[source]#
Broadcasts the tensor to the whole group.
tensor
must have the same number of elements in all processes participating in the collective. Seetorch.distributed.broadcast()
.
Broadcasts the tensor to the whole group.
tensor
must have the same number of elements in all processes participating in the collective.
See torch.distributed.broadcast()
.