For example  neurons = 3,
with torch.no_grad():
    model.fc1.weight = torch.nn.Parameter(torch.tensor([[1.], [2.], [3.]]))
    model.fc1.bias = torch.nn.Parameter(torch.tensor([1., 2, 3]))
# the tensor shape you assign should match the model parameter itself

model.fc1.requires_grad_(False)