public void Learn(Matrix <float> X, Vector <float> y) { Backward(X, y); optimizer.UpdateParams(layers); }