(self)
| 206 | } |
| 207 | |
| 208 | def __str__(self): |
| 209 | H = self.hyperparameters |
| 210 | lr, eps, cn, sc = H["lr"], H["eps"], H["clip_norm"], H["lr_scheduler"] |
| 211 | return "AdaGrad(lr={}, eps={}, clip_norm={}, lr_scheduler={})".format( |
| 212 | lr, eps, cn, sc |
| 213 | ) |
| 214 | |
| 215 | def update(self, param, param_grad, param_name, cur_loss=None): |
| 216 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected