ott.geometry.costs.SoftDTW.pairwise

ott.geometry.costs.SoftDTW.pairwise#

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

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

Parameters:
Return type:

float

Returns:

The cost.