评价此页

torch.nn.functional.softshrink#

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

逐元素应用软收缩函数

更多详情请参见 Softshrink