Hi,
I want to expand a tensor tensorA with size: torch.Size([17185, 17185]) to be torch.Size([34370, 34370]) using torch.expand() rather than torch.repeat()
I know how to do it with torch.repeat() by tensorA.expand(2,2) which will give me a tensor of size torch.Size([34370, 34370]) but take much memory.
Any help with doing it using torch.expand() please?