* The training state to return to.
*/
@Override
public final void resume(final TrainingContinuation state) {
if (!isValidResume(state)) {
throw new TrainingError("Invalid training resume data length");
}
final double[] lastGradient = (double[]) state
.get(ResilientPropagation.LAST_GRADIENTS);
final double[] updateValues = (double[]) state
.get(ResilientPropagation.UPDATE_VALUES);