Neural-network building blocks · MLD-1204
Tanh
A smooth activation mapping real values into the interval minus one to one.
Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.
Original example
Bound recurrent hidden-state updates.
Original caveat
It saturates for large-magnitude inputs.
Context and aliases
Level: Intermediate. Stages: Training · Inference · Theory.
Tags: DL · SLM · LLM · Vision · NLP.
Aliases: Hyperbolic tangent.
Related concepts
Original references
- Deep Learning: online textbook ↗ · Consulted
- PyTorch neural-network layers ↗ · Reference link
- PyTorch documentation ↗ · Reference link
- Original reference URL ↗