torch.nn.Softshrink(lambd=0.5)
paddle.nn.Softshrink(threshold=0.5, name=None)
两者功能一致且参数用法一致,仅参数名不一致,具体如下: