tanh
tanh 函数
tanh(双曲正切)函数可以将元素的值变换到
$$ \tanh (x)=\frac{1-\exp (-2 x)}{1+\exp (-2 x)} $$
我们接着绘制

依据链式法则,
$$ \tanh ^{\prime}(x)=1-\tanh ^{2}(x) $$
tanh(双曲正切)函数可以将元素的值变换到
$$ \tanh (x)=\frac{1-\exp (-2 x)}{1+\exp (-2 x)} $$
我们接着绘制
依据链式法则,
$$ \tanh ^{\prime}(x)=1-\tanh ^{2}(x) $$