Sigmoid squashes to (0, 1) and saturates; tanh is zero-centered but also saturates; both suffer from vanishing gradients in deep nets.
ReLU (max of 0 and x) is cheap and speeds up training, but a neuron whose output is always zero stops learning (dying ReLU).
Leaky ReLU, GELU and Swish reduce that issue; softmax turns outputs into class probabilities.
Loading…