ott.geometry.costs.UnbalancedBures.all_pairs_pairwise#

UnbalancedBures.all_pairs_pairwise(x, y)#

Compute matrix of all pairwise costs, excluding the norms.

Parameters
  • x (Array) – Array of shape [n, ...].

  • y (Array) – Array of shape [m, ...].

Return type

Array

Returns

Array of shape [n, m] of cost evaluations.