With decoupled decay, each step multiplies the weights by a fixed factor. Over many steps that factor compounds, so the learning rate and decay together set how fast old weights are forgotten.
Implement effective_decay(lr, wd, steps), the fraction of weights remaining after pure decay.
Raise one minus lr times wd to the number of steps.
No results yet
Run your code to check it against the examples, or submit to run every test.