评价此页

torch.nn.functional.softshrink#

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

逐元素应用 soft shrinkage 函数

有关更多详细信息,请参阅 Softshrink