FlorentMeyer:

In other words, are my_tensor = torch.load(PATH, map_location="cpu") then my_tensor = my_tensor.to("cuda:0") VERSUS my_tensor = torch.load(PATH, map_location="cuda:0") exactly the same?


Yes the end result is the same. So no need to add a .to() if you already used map_location properly.