# tensorplay.nn.functional.hardshrink

Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.hardshrink.html

# tensorplay.nn.functional.hardshrink

tensorplay.nn.functional.hardshrink(input, lambd=0.5) &#x2192; Tensor[[source]](../_modules/tensorplay/nn/functional.html#hardshrink)

Applies the hard shrinkage function element-wise.

See Hardshrink for more details.
