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
Language Modelling 24 3.39%
Sentence 21 2.96%
Sentiment Analysis 18 2.54%
Time Series Forecasting 16 2.26%
Image Generation 15 2.12%
Classification 15 2.12%
Management 15 2.12%
Decision Making 13 1.83%
Translation 13 1.83%

Components


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

Categories