Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.nn.functional.softshrink#

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

Applies the soft shrinkage function elementwise

See Softshrink for more details.