ott.geometry.costs.Cosine.pairwise#

Cosine.pairwise(x, y)[source]#

Cosine distance between vectors, denominator regularized with ridge.

Return type

Array

Parameters
  • x (jax._src.basearray.Array) –

  • y (jax._src.basearray.Array) –