Tanh
Also written: hyperbolic tangent, np.tanh
An S-shaped activation function like the sigmoid but running from -1 to 1. Its slope is 1 - tanh(z)².
Also written: hyperbolic tangent, np.tanh
An S-shaped activation function like the sigmoid but running from -1 to 1. Its slope is 1 - tanh(z)².