The LAMB step is the Adam direction, multiplied by the layer's trust ratio and the learning rate. Each layer moves a fixed fraction of its own weight norm per step.
Implement lamb_update(w, r, lr), one LAMB step for a single layer.
Multiply the direction by lr and by the trust ratio, then subtract from the weights.
No results yet
Run your code to check it against the examples, or submit to run every test.