nujo/optim/optimizer.py
def zero_grad(self) -> None:
        ''' Zeros the gradients of the parameters.
        '''

        for param in self.params():
            param.zero_grad()
 Zeros the gradients of the parameters.
        
Zeros the gradients of the parameters.
Zeros the gradients of the parameters .
def zero_grad(self) -> None:
        for param in self.params():
            param.zero_grad()
def zero_grad ( self ) -> None : for param in self . params ( ) : param . zero_grad ( )
Zeros the gradients of the parameters.
Zeros the gradients of the parameters .
''' Zeros the gradients of the parameters.
        '''
self