Implement AdamW from scratch in numpy for one parameter tensor

Optimization and Training Dynamics1 / 5

Chapter 071 / 5

Optimization and Training Dynamics

Implement AdamW from scratch in numpy for one parameter tensor

Easy
Target interface
class AdamW

Complete the starter code in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.