If I want to utilize GPU to calculate, I need to use model = model.cuda().
But I find that it seems every module can be added the .cuda(), such as Variable and loss.
I know that adding .cuda() means calculate on GPU, but do I have to add .cuda() to all the modules?
And which modules can be added the .cuda()? It seems not explicit in the document.