Hello,
I am new to pytorch and trying to understand it. When I see a codes written in pytorch, to utilize GPU sometimes .cuda() is used while .to(‘cuda’) is used sometimes. I want to know if there is any difference between both methods or both are same?