- ReLU: Rectifier Linear Unit
max(0, x) - ReLu6: Rectifier Linear Unit Cropped at 6
min(max(0, x), 6) - LReLU: Leaky ReLU
x >= 0 ? x : a * x(acan be picked randomly in [1/8, 1/3]) paper - ELU: Exponential Linear Unit
max(0,x) + min(0, alpha (exp(x) - 1)) - GELU: Gaussian Error Linear Unit
- MISH: Self-Regularized Non-Monotonic Activation Paper
- SWISH:
x * sigmoid(x){Used in MobileNet but slow, use h-swish intead} - Hard-SWISH:
x (ReLu6(x+3)/6(https://arxiv.org/pdf/1908.08681.pdf) - Hard Tanh:
max(-1, min(1, x))
jupyter notebook
