官术网_书友最值得收藏!

The tanh function

Tanh is a continuous function symmetric around the origin; it ranges from -1 to 1. The tanh function is represented as follows:

Thus the output signals will be both positive and negative thereby, adding to the segregation of the signals around the origin. As mentioned earlier, it is continuous and also non linear plus differentiable at all points. We can observe these properties in the graph of the tanh function in the following diagram. Though symmetrical, it becomes flat beyond -2 and 2:

Now looking at the gradient curve of the following tanh function, we observe it being steeper than the sigmoid function. The tanh function also has the vanishing gradient problem:

主站蜘蛛池模板: 漳平市| 瓮安县| 阳谷县| 正蓝旗| 永修县| 分宜县| 朔州市| 博湖县| 清原| 革吉县| 永川市| 奉节县| 英山县| 嵊州市| 莫力| 犍为县| 远安县| 青浦区| 金塔县| 横峰县| 左贡县| 灌南县| 长寿区| 海晏县| 瑞金市| 谷城县| 黄梅县| 衡东县| 乃东县| 油尖旺区| 河西区| 若尔盖县| 岑巩县| 碌曲县| 阿瓦提县| 孙吴县| 张北县| 肥东县| 仁布县| 拉萨市| 郴州市|