def METHOD_NAME(self, x, y):
    ''' The inputs x,y are output data from the quantized and floating-point modules.
    x is for the quantized module, y is for the floating point module
    '''
    if x.is_quantized:
        x = x.dequantize()
    self.count += 1
    if self.stats["quantized"] is None:
        self.stats["quantized"] = x
        self.quant_sum = x
    else:
        self.quant_sum += x
        self.stats["quantized"] = self.quant_sum / self.count
    if self.stats["float"] is None:
        self.stats["float"] = y
        self.float_sum = y
    else:
        self.float_sum += y
        self.stats["float"] = self.float_sum / self.count