Now I just want to train the two W of linear layer, w (w1, w2, w3,...... W100), now just want to train W1, w2, how to choose these two weights to train?

Now I just want to train the two W of linear layer, w (w1, w2, w3,… W100), now just want to train W1, w2, how to choose these two weights to train?