ott.geometry.costs.CostFn.all_pairs# CostFn.all_pairs(x, y)[source]# Compute matrix of all pairwise costs, including 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.