What about using resize_ or unsqueeze?
Is there a difference between those two?
If a have a tensor s=(300) and I want it to be (1,1,300)
Shall I use s.resize_(1,1,300) instead of using unsqueeze multiple times?
Does this give the same result?