append

ParameterHistory.append(parameters: Parameters, current_iteration: int = 0)[source]

Append Parameters to the history.

Parameters:
  • parameters (Parameters) – The group to append.

  • current_iteration (int) – Current iteration of the optimizer.

Raises:

ValueError – Raised if the parameter labels differs from previous.