Hi all,
just wondering, are torch.stack, torch.cat inplace operations?  If we use the same variable name on both sides of the statement.
example .
torch_list = [torch.randn(2, 2), torch.randn(2, 2), torch.randn(2, 2)] torch_list = torch.stack(torch_list, dim=0)

print(torch_list.shape) #  torch.Size([3, 2, 2])

Thanks in advance.