torch_harmonics.distributed.gather_from_polar_region#
- torch_harmonics.distributed.gather_from_polar_region(input_, dim_, shapes_)[source]#
All-gather along
dim_across polar ranks to reconstruct the full tensor.The backward pass is a split (scatter) that distributes gradients back to owning ranks.
- Parameters:
input (torch.Tensor) – Local partition of the tensor.
dim (int) – Dimension along which to gather.
- Returns:
Fully gathered tensor.
- Return type: