Continuous Generalized Gradient Descent