Hello 
If I want to construct the model like this
class MyNeuralNet(nn.Module):
    def __init__(self):
        ## Some Layer before...
        self.layer_1 = nn.Linear(input_size,hidden_size)
        self.layer_2 = nn.Linear(hidden_size,output_size)

    def forward(self,x):
        ## Some Layer before...
        x = self.layer_1(x)
        x = self.layer_2(x)
        return x

but I don’t want to change input_size every time when I change the data or change hyperparameter setting from previous layer. What should I do?
Thank you