I have a tensor of size (64L, 3L, 7L, 7L) and I want to expand it to a size of (64L, 4L, 7L, 7L). I tried using ‘expand’ method but it doesn’t work for non-singleton dimensions. I am new to PyTorch, any help is appreciated. Thank you.