ott.geometry.costs.ElasticL2.reg

Contents

ott.geometry.costs.ElasticL2.reg#

ElasticL2.reg(z)#

Regularization function.

Parameters:

z (Array) – Array of shape [d,].

Return type:

float

Returns:

The regularization value.