def label_update(self, results):
    self.count += 1
    idx = ((self.count - 1) % 10)
    self.prediction[:, idx] = results
    if (self.count == 79):
        self.soft_labels = self.prediction.mean(axis=1)
    if (self.count > 79):
        self.soft_labels = results
def label_update(self, results):
    self.count += 1
    idx = ((self.count - 1) % 10)
    self.prediction[:, idx] = results
    if (self.count == 79):
        self.soft_labels = self.prediction.mean(axis=1)
    if (self.count > 79):
        self.soft_labels = results