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

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:

主站蜘蛛池模板: 扬州市| 盐池县| 太湖县| 赫章县| 平遥县| 临桂县| 繁峙县| 石屏县| 永定县| 鹰潭市| 科尔| 西华县| 沁阳市| 临清市| 贞丰县| 西乌珠穆沁旗| 葫芦岛市| 阿坝县| 吉林市| 滨海县| 寿光市| 天柱县| 绿春县| 旬阳县| 云和县| 醴陵市| 博乐市| 昌图县| 海兴县| 苗栗县| 乡城县| 嵊州市| 星座| 贡觉县| 昌平区| 石屏县| 南汇区| 伊宁县| 上虞市| 德格县| 阿克陶县|