nnf_hardsigmoid {torch} | R Documentation |
Applies the element-wise function \mbox{Hardsigmoid}(x) = \frac{ReLU6(x + 3)}{6}
nnf_hardsigmoid(input, inplace = FALSE)
input |
(N,*) tensor, where * means, any number of additional dimensions |
inplace |
NA If set to |