Activation Functions

Tanh Activation

Tanh Activation is an activation function used for neural networks:

$$f\left(x\right) = \frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}$$

Historically, the tanh function became preferred over the sigmoid function as it gave better performance for multi-layer neural networks. But it did not solve the vanishing gradient problem that sigmoids suffered, which was tackled more effectively with the introduction of ReLU activations.

Image Source: Junxi Feng

Papers


Paper Code Results Date Stars

Tasks


Task Papers Share
Decoder 24 3.38%
Language Modelling 22 3.09%
Sentence 19 2.67%
Time Series Forecasting 18 2.53%
Management 16 2.25%
Decision Making 15 2.11%
Classification 14 1.97%
Sentiment Analysis 14 1.97%
Image Generation 14 1.97%

Components


Component Type
🤖 No Components Found You can add them if they exist; e.g. Mask R-CNN uses RoIAlign

Categories