Hyperbolic tangent
Appearance
Image: Rong Martin-Siebler ZHOU and Veramiko AI · CC BY-SA 4.0
Hyperbolic tangent is an activation function.
Definition
$$ \tanh(z)=\frac{e^{z}-e^{-z}}{e^{z}+e^{-z}}. $$
Properties
| Output | |
|---|---|
| Range | $(-1,1)$ |
| Center | 0 |
Hyperbolic tangent is an activation function.
$$ \tanh(z)=\frac{e^{z}-e^{-z}}{e^{z}+e^{-z}}. $$
| Output | |
|---|---|
| Range | $(-1,1)$ |
| Center | 0 |