Solved by ptrblck in post #4 
              
              
                The model will change, but since you’ve manipulated the internal parameters manually, the in_features and other attributes won’t be changed as seen here: 
# default setup
model = nn.Linear(10, 10, bias=False)
print(model)
> Linear(in_features=10, out_features=10, bias=False)
x = torch.randn(1, 10)
o…