tanh
Tenh activation function.
f(x) = (e^x - e^(-x)) / (e^x + e^(-x))
x (Tensor) – input to the function
Tensor
f(x), applies activation function