![How Does the Linear Layer Act on a Multi-Dimensional Tensor? | by Harshit Sharma | MLearning.ai | Medium How Does the Linear Layer Act on a Multi-Dimensional Tensor? | by Harshit Sharma | MLearning.ai | Medium](https://miro.medium.com/v2/resize:fit:1200/0*3CfNMSnn_Fl73Kxb.png)
How Does the Linear Layer Act on a Multi-Dimensional Tensor? | by Harshit Sharma | MLearning.ai | Medium
Now I just want to train the two Weight of linear layer, w(w1, w2, w3,…… W100), now just want to train W1, w2, how to choose these two weights to train? -
![How to Build Your Own PyTorch Neural Network Layer from Scratch | by Michael Li | Towards Data Science How to Build Your Own PyTorch Neural Network Layer from Scratch | by Michael Li | Towards Data Science](https://miro.medium.com/v2/resize:fit:1400/1*eDRvelSa-3eugiKZ2X_fdw.png)
How to Build Your Own PyTorch Neural Network Layer from Scratch | by Michael Li | Towards Data Science
Differeces between Multi-dimension input to the nn.Linear layer and Iterative forwarding - PyTorch Forums
![neural network - How can I create convolutions or linear layers that operate on vectors rather than scalars in pytorch? - Data Science Stack Exchange neural network - How can I create convolutions or linear layers that operate on vectors rather than scalars in pytorch? - Data Science Stack Exchange](https://i.stack.imgur.com/C1IO1.png?s=320)