torch.nn.functional.softshrink¶
-
torch.nn.functional.softshrink(input, lambd=0.5) → Tensor¶ Applies the soft shrinkage function elementwise
See
Softshrinkfor more details.
torch.nn.functional.softshrink(input, lambd=0.5) → Tensor¶Applies the soft shrinkage function elementwise
See Softshrink for more details.