Hardshrink
Applies the hard shrinkage function element-wise
nnf_hardshrink(input, lambd = 0.5)
input |
(N,*) tensor, where * means, any number of additional dimensions |
lambd |
the lambda value for the Hardshrink formulation. Default: 0.5 |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.