If you have a tensor which is 4,1 you can’t magically get a tensor which is 4,2.
One is 4 elements and the other 8.
You should think in the logics behind that. You may want to use random numbers, to tile the tensor…
Reshapes just reorder elements but doesn’t create the. Unsqueeze creates new dimensions but not new elements.