(self, lr=0.001, b1=0.9, b2=0.999, e=1e-8, l=1-1e-8, *args, **kwargs)
| 140 | class Adam(Update): |
| 141 | |
| 142 | def __init__(self, lr=0.001, b1=0.9, b2=0.999, e=1e-8, l=1-1e-8, *args, **kwargs): |
| 143 | Update.__init__(self, *args, **kwargs) |
| 144 | self.__dict__.update(locals()) |
| 145 | |
| 146 | def __call__(self, params, cost): |
| 147 | updates = [] |