ott.solvers.linear.acceleration.Momentum.weight#

Momentum.weight(state, iteration)[source]#

Compute momentum term if needed, using previously seen errors.

Return type

float

Parameters
  • state (ott.solvers.linear.sinkhorn.SinkhornState) –

  • iteration (int) –