R/nnf-activation.R
nnf_hardsigmoid.Rd
Applies the element-wise function \(\mbox{Hardsigmoid}(x) = \frac{ReLU6(x + 3)}{6}\)
nnf_hardsigmoid(input, inplace = FALSE)
(N,*) tensor, where * means, any number of additional dimensions
NA If set to True, will do this operation in-place. Default: False
True
False