ott.geometry.costs.SqEuclidean.barycenter#

SqEuclidean.barycenter(weights, xs)[source]#

Output barycenter of vectors when using squared-Euclidean distance.

Return type

Array

Parameters
  • weights (jax.Array) –

  • xs (jax.Array) –