評價此頁

torch.nn.functional.softshrink#

torch.nn.functional.softshrink(input, lambd=0.5) Tensor#

逐元素應用 soft shrinkage 函式

有關更多詳細資訊,請參閱 Softshrink