def __init__(self, gamma: float=2.0, alpha: float=0.25, reduction='mean'):
    super(QualityLoss, self).__init__()
    self.alpha = alpha
    self.gamma = gamma
    self.reduction = reduction
def __init__(self, gamma: float=2.0, alpha: float=0.25, reduction='mean'):
    super(QualityLoss, self).__init__()
    self.alpha = alpha
    self.gamma = gamma
    self.reduction = reduction