(self)
Resets the meter with empty member variables
Resets the meter with empty member variables
Resets the meter with empty member variables
def reset(self):
        """Resets the meter with empty member variables"""
        self.scores = torch.FloatTensor(torch.FloatStorage())
        self.targets = torch.LongTensor(torch.LongStorage())
def reset ( self ) : self . scores = torch . FloatTensor ( torch . FloatStorage ( ) ) self . targets = torch . LongTensor ( torch . LongStorage ( ) )