model.cuda() by default will send your model to the "current device", which can be set with torch.cuda.set_device(device) .
確定! 回上一頁