torch.nn.functional.softshrink¶ torch.nn.functional.softshrink(input, lambd=0.5) → Tensor¶ 逐元素應用軟收縮函式 有關更多詳細資訊,請參閱 Softshrink。