ott.geometry.costs.ElasticL1.reg

Contents

ott.geometry.costs.ElasticL1.reg#

ElasticL1.reg(z)#

Regularization function.

Parameters:

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

Return type:

float

Returns:

The regularization value.