parameters: (self)
docstring: Set all tensors in the batch to 0
docstring_summary: Set all tensors in the batch to 0
docstring_tokens: Set all tensors in the batch to 0
function: def setzero(self):
          ''' Set all tensors in the batch to 0 '''
          for _, v in self.batch.items():
              v[:] = 0
function_tokens: def setzero ( self ) : for _ , v in self . batch . items ( ) : v [ : ] = 0