Hi guys,
I need  to unsqueeze a tensor by one dimension provided that this dimension is added to the following dim. Can I do without for loop?
For example, A= [1,2,4,4], I need to make it [1,5,5].
Any thoughts?