Creates a new optimizer object.
AdaptiveGradient.new(): OptimizerObject
Reset optimizer’s stored values (excluding the parameters).
AdaptiveGradient:reset()