神经网络常见激活函数 2-tanh函数(双曲正切)
tanh 函数求导 tanh函数 tanh ( x ) e x − e − x e x e − x 2 ⋅ s i g m o i d ( 2 x ) − 1 \begin{aligned} \tanh (x) & \frac{e^x - e^{-x}}{e^xe^{-x}} \\ &2\cdot\rm sigmoid(2x) - 1 \end{aligned} tanh(x)exe−xex−e−x2⋅sigmoid(2x)−1 …
2025-12-14