Geometric Median Function
Here's how to use the Geometric Median function:
# Import the library
import charisius
# Initialize vectors
vectors = [...]
# Call geometric_median function
result = charisius.geometric_median(_, vectors)
Inputs
vectors: list - The list of PyTorch Tensors to be processed.
Outputs
result: torch.Tensor - The geometric median of the input vectors.