ott.geometry.costs.CostFn.pairwise

ott.geometry.costs.CostFn.pairwise#

abstract CostFn.pairwise(x, y)[source]#

Compute cost between \(x\) and \(y\).

Parameters:
Return type:

float

Returns:

The cost.