ott.geometry.costs.Cosine.pairwise#

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

Cosine distance between vectors, denominator regularized with ridge.

Return type

Array

Parameters
  • x (jax.Array) –

  • y (jax.Array) –