(self)
Clear the buffers used to hold batches.
Clear the buffers used to hold batches.
Clear the buffers used to hold batches .
def clear_device_buffer(self):
        """ Clear the buffers used to hold batches. """
        if self.clear_list:
            [dev.fill(0) for dev in self.clear_list]
def clear_device_buffer ( self ) : if self . clear_list : [ dev . fill ( 0 ) for dev in self . clear_list ]