Chapter 073 / 5
Optimization and Training Dynamics
Implement global gradient-norm clipping over a list of tensors
Medium
Target interface
clip_grad_norm(grads, max_norm)Complete the starter code in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.