I am wondering if it is possible to have something like ‘torch.repeat’ but returns a view instead of actually repeating the memory? ‘torch.expand’ unfortunately seems to work only on singleton dimensions. Thanks in advance!