def METHOD_NAME(
        self, points: torch.Tensor,
        coors: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
    """Scatters points into voxels.
    Args:
        points (torch.Tensor): Points to be reduced into voxels.
        coors (torch.Tensor): Corresponding voxel coordinates (specifically
            multi-dim voxel index) of each points.
    Returns:
        tuple[torch.Tensor]: A tuple contains two elements. The first one
        is the voxel features with shape [M, C] which are respectively
        reduced from input features that share the same voxel coordinates.
        The second is voxel coordinates with shape [M, ndim].
    """
    reduce = 'mean' if self.average_points else 'max'
    return dynamic_scatter(points.contiguous(), coors.contiguous(), reduce)