R/nnf-activation.R
nnf_tanhshrink.Rd
Applies element-wise, \(Tanhshrink(x) = x - Tanh(x)\)
nnf_tanhshrink(input)
(N,*) tensor, where * means, any number of additional dimensions