ott.geometry.costs.NegDotProduct.norm

ott.geometry.costs.NegDotProduct.norm#

NegDotProduct.norm(x)[source]#

Compute squared Euclidean norm for vector. Only used for rescaling.

Parameters:

x (Array)

Return type:

Array