oh thanks a lot for the solution!
Sorry for another question about chaging my tensor dimensions…I have another tensor, which I was able to transform to torch.Size([16, 1024, 9, 9]), but similar to the other I would need it to be transformed to torch.Size([16, 1024, 13, 13]). I tried some but haven’t found the solution yet  And thank you again!