Skip to main content
. 2022 Jan 7;22(2):450. doi: 10.3390/s22020450

Table 1.

Mathematical expressions of activation functions.

Activation Function Equation Range
Linear Function f(x)=x (,)
Step Function f(x)=0,forx<01,forx0 {0,1}
Sigmoid Function f(x)=σ(x)=11+ex (0,1)
Hyperbolic Tangent Function f(x)=tanh(x)=exexex+ex (0,1)
ReLU f(x)=0,forx<0x,forx0 (0,)
Leaky ReLU f(x)=0.01,forx<0x,forx0 (,)
Swish Function f(x)=xσ(β(x))=x2,β=0max(0,x),β (,)