ott.problems.quadratic.quadratic_problem.QuadraticProblem.init_transport_mass

ott.problems.quadratic.quadratic_problem.QuadraticProblem.init_transport_mass#

QuadraticProblem.init_transport_mass()[source]#

Initialize the transport mass.

Return type:

float

Returns:

The sum of the elements of the normalized transport matrix.