Name                    Version                   Build  Channel
pytorch                   1.7.1           py3.8_cuda110_cudnn8_0    pytorch
Codes:
import torch

device = 'cuda:0'
x = torch.rand([2, 3, 4], device=device).transpose(0, 2)
y = torch.zeros_like(x)
args_list = [x, y]
ret_list = []
for item in args_list:
    if isinstance(item, torch.Tensor):
        item = item.contiguous()
        ret_list.append(item.data_ptr())
print(ret_list)

Outpus:
[47284487168, 47284487168]
x and y are two different tensors, but they have the same data_ptr.