class_docstr: Optim wrapper that implements rate.
class_docstr_tok: ["Optim","wrapper","that","implements","rate","."]
docstr: Reset gradient.
docstr_tok: ["Reset","gradient","."]
code: def zero_grad(self):
      """Reset gradient."""
      self.optimizer.zero_grad()
  
file_path: espnet/espnet/nets/pytorch_backend/transformer/optimizer.py
imports: import torch
label_desc: Use image node_id 5 for calling the NoamOpt obj's underlying member method code with example usage: obj.zero_grad() without return types