parameters: (self)
docstring: Sets all Parameters' gradient buffer to 0.
docstring_summary: Sets all Parameters' gradient buffer to 0.
docstring_tokens: Sets all Parameters gradient buffer to 0 .
function: def zero_grad(self):
          """Sets all Parameters' gradient buffer to 0."""
          for i in self.values():
              i.zero_grad()
function_tokens: def zero_grad ( self ) : for i in self . values ( ) : i . zero_grad ( )