| 289 | class AdaGrad : public Optimizer { |
| 290 | public: |
| 291 | AdaGrad(float _lr = 1e-4, float _weight_decay = 0, float _epsilon = 1e-10, |
| 292 | const LRSchedule &_schedule = "linear") : |
| 293 | Optimizer("AdaGrad", 1, _lr, _weight_decay, _schedule) { |
| 294 | epsilon = _epsilon; |
| 295 | } |
| 296 | }; |
| 297 | |
| 298 | /** Helper class for RMSprop */ |
nothing calls this directly
no outgoing calls
no test coverage detected