Tanhshrink module
Applies the element-wise function:
nn_tanhshrink()
*
if (torch_is_installed()) { m <- nn_tanhshrink() input <- torch_randn(2) output <- m(input) }
Useful links