Hardshrink
Applies the hard shrinkage function element-wise
nnf_hardshrink(input, lambd = 0.5)
input
: (N,*) tensor, where * means, any number of additional dimensionslambd
: the lambda value for the Hardshrink formulation. Default: 0.5Useful links