R/nnf-activation.R
nnf_hardshrink.Rd
Applies the hard shrinkage function element-wise
nnf_hardshrink(input, lambd = 0.5)
(N,*) tensor, where * means, any number of additional dimensions
the lambda value for the Hardshrink formulation. Default: 0.5