Hi  everyone !
If I have a single GPU, are the following functions equivalent ?
my_model = model.cuda()
my_model = DataParallel(model, devices_ids = [torch.cuda.current_device()])
my_model = DataParallel(model, devices_ids = [torch.cuda.current_device()]).cuda()

Thank you!