其中, device=torch.device("cpu") 代表的使用cpu,而 device=torch.device("cuda") 则代表的使用GPU。 当我们指定了设备之后,就需要将模型加载到相应 ...
確定! 回上一頁