C CareerByteCode Arena Browse Sign in
ArenaBrowse › Challenge
AI Hard +20 XP

PyTorch: zero_grad

optimizer.zero_grad() is needed because gradients:

Sign in to solve this challenge

Use your college email to start solving, earn XP, build a streak, and climb your college leaderboard. It is free.

Sign in with Google
← Back to all challenges