Your model can be seen as a single linear layer, since you are not using any activation function between fc1 and fc2 so you might want to add it.
Also, make sure that out.squeeze() and y have the same shape as otherwise unwanted broadcasting could be applied and you should get a warning about this behavior.