Goyal et al. (2017) train with very large minibatches by scaling the learning rate linearly with the batch size. Doubling the batch doubles the step, since the gradient estimate is averaged over twice as many examples.
Implement scaled_lr(base_lr, batch, base_batch), the linearly scaled learning rate.
Multiply the base learning rate by the ratio of the new batch size to the base batch size.
No results yet
Run your code to check it against the examples, or submit to run every test.