import torch.nn as nn ... torch.cuda.device_count():返回当前可见可用的GPU 数量 ... torch.cuda.set_device():设置主GPU 为哪一个物理GPU,此方法不推荐使用.
確定! 回上一頁