def __init__(self, sigma, reduction='mean'):
    super(SmoothL1Loss, self).__init__()
    self.sigma = sigma
    self.reduction = reduction
def __init__(self, sigma, reduction='mean'):
    super(SmoothL1Loss, self).__init__()
    self.sigma = sigma
    self.reduction = reduction