https://pytorch.org/docs/stable/generated/torch.optim.SGD.html?highlight=sgd#torch.optim.SGD、
其中weight_decay 参数作用是在SGD中增加的l2的惩罚项
2023-11-06 19:21:40
https://pytorch.org/docs/stable/generated/torch.optim.SGD.html?highlight=sgd#torch.optim.SGD、
其中weight_decay 参数作用是在SGD中增加的l2的惩罚项