torch.nn.functional.softshrink¶ torch.nn.functional.softshrink(input, lambd=0.5) → 张量¶ 逐元素应用软收缩函数 有关更多详细信息,请参阅Softshrink。