R/nnf-activation.R
nnf_relu6.Rd
Applies the element-wise function \(ReLU6(x) = min(max(0,x), 6)\).
nnf_relu6(input, inplace = FALSE)
(N,*) tensor, where * means, any number of additional dimensions
can optionally do the operation in-place. Default: FALSE