Hyperbolic tangent: Difference between revisions
Appearance
Plain-text caption (math not rendered in file captions) (via update-page on MediaWiki MCP Server) |
Restore TeX in caption (client-side math) (via update-page on MediaWiki MCP Server) Tag: Manual revert |
||
| Line 1: | Line 1: | ||
[[Category:Activation function]] | [[Category:Activation function]] | ||
[[File:Tanh-activation-function.svg|thumbnail|tanh(z) for z | [[File:Tanh-activation-function.svg|thumbnail|$\tanh(z)$ for $z\in[-4.4,4.4]$, with the asymptotes $\pm 1$ and the zero crossing $\tanh(0)=0$ marked]] | ||
'''Hyperbolic tangent''' is an [[activation function]]. | '''Hyperbolic tangent''' is an [[activation function]]. | ||
Latest revision as of 11:52, 17 November 2026
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 |