PyTorch 中的Tensor,Variable 和nn.Module(如loss,layer和容器Sequential) 等可以分别使用CPU 和GPU 版本,均是采用 .cuda() 方法.
確定! 回上一頁