| 47 | |
| 48 | |
| 49 | class Update(object): |
| 50 | |
| 51 | def __init__(self, regularizer=Regularizer(), clipnorm=0.): |
| 52 | self.__dict__.update(locals()) |
| 53 | |
| 54 | def __call__(self, params, grads): |
| 55 | raise NotImplementedError |
| 56 | |
| 57 | class SGD(Update): |
| 58 |
nothing calls this directly
no outgoing calls
no test coverage detected