Tanh #### * 特点:将输入的实数映射到 (-1, 1) 范围内,可以提供比 Sigmoid 更强的非线性性质,常用于隐藏层。 * 公式: .. math:: \text{tanh}(x) = \frac {e^x - e^{-x}} {e^x + e^{-x}}