From b3b82ca4f08e3ec1178e1271b7c6feb8c9ffc445 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 22 Mar 2019 12:57:47 +0100 Subject: [PATCH] add aliases for optimizer names --- onn/optimizer.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/onn/optimizer.py b/onn/optimizer.py index c646e45..a37c6b7 100644 --- a/onn/optimizer.py +++ b/onn/optimizer.py @@ -585,3 +585,13 @@ class Padam(Adamlike): power=1/8, debias=True, eps=1e-8): super().__init__(lr=lr, b1=b1, b2=b2, power=power, debias=debias, runmax=True, yogi=False, eps=eps) + + +AMSGrad = AMSgrad +AdaDelta = Adadelta +AdaGrad = Adagrad +AdaMax = Adamax +NAdam = Nadam +PAdam = Padam +RMSProp = RMSprop +RMSPropCentered = RMSpropCentered