Softshrink
Applies the soft shrinkage function elementwise
nnf_softshrink(input, lambd = 0.5)
input
: (N,*) tensor, where * means, any number of additional dimensionslambd
: the lambda (must be no less than zero) value for the Softshrink formulation. Default: 0.5Useful links
Downloads (last 30 days):