tanh(x) 函數
計算 tanh(x) 函數(雙曲正切函數,Tangent Hyperbolic Function)。
tanh(x) 函數常用於神經網路的激發函數等場合。
| \( \normalsize Tangent\ hyperbolic\ function\ \tanh(x)\\ f(x) = \large \tanh(x) = \large \frac {e^{x}-e^{-x}}{e^{x}+e^{-x}}\\ \normalsize f'(x) = 1 - f(x)^{2} \\ \normalsize f''(x) = - 2 f(x) \left\{ 1 - f(x)^{2} \right\} \\\) |
目前還沒有關於此計算的用戶評價。