API symbolsnn
Copy
tensorplay.nn.functional.hardshrink
- tensorplay.nn.functional.hardshrink(input, lambd=0.5) Tensor[source]
Applies the hard shrinkage function element-wise.
See
Hardshrinkfor more details.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
