Not really because you can set the default tensor type to cuda types. Furthermore, generally you should use torch.empty or torch.tenor instead of the uppercase tensor constructor. Just passing in device in those methods also works.