def __init__(self, dims):
    super(Affine, self).__init__()
    self.alpha = nn.Parameter(torch.ones(dims))
    self.beta = nn.Parameter(torch.zeros(dims))
def __init__(self, dims):
    super(Affine, self).__init__()
    self.alpha = nn.Parameter(torch.ones(dims))
    self.beta = nn.Parameter(torch.zeros(dims))