I have seen two ways to move module or tensor to GPU:

Use the cuda() 321 method
Use the to() 590 method

Is there any difference between these two methods in terms of moving module or tensor to GPU? Which method is preferred?