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

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:

主站蜘蛛池模板: 崇州市| 佛山市| 晴隆县| 平谷区| 台南县| 阿克苏市| 砀山县| 南靖县| 新晃| 涡阳县| 中江县| 巧家县| 万州区| 永德县| 许昌市| 建德市| 靖西县| 黄石市| 兴宁市| 南川市| 正蓝旗| 上林县| 渭源县| 瑞安市| 蒙山县| 榆林市| 綦江县| 韶关市| 尼勒克县| 拜城县| 宝坻区| 五家渠市| 墨江| 玉屏| 高雄市| 正宁县| 莆田市| 万宁市| 栖霞市| 封开县| 库尔勒市|