Distributed Optimizer with TorchScript support is introduced in PyTorch 1.8 as a ... p) elif weight_decay_type == "direct": p.mul_(1.0 - lr * weight_decay) ...
確定! 回上一頁