View source: R/nnf-activation.R
nnf_hardshrink | R Documentation |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.