def reset(self):
    self.val = 0
    self.avg = 0
    self.smooth_avg = 0
    self.sum = 0
    self.count = 0
def reset(self):
    self.val = 0
    self.avg = 0
    self.smooth_avg = 0
    self.sum = 0
    self.count = 0