判断model在cuda上 发表于 2018-12-Thu | 阅读次数: 1next(model.parameters()).is_cuda # returns a boolean请作者喝一杯咖啡☕️打赏微信支付