You could either iterate it or assign the content to separate variables:
a = ((torch.tensor(1), torch.tensor(2)))
print(type(a))
# > <class 'tuple'>

# iterate it
for x in a:
    print(x)
    
# unwrap
x, y = a