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

Hyperbolic tangent

Another very popular and widely used activation feature is the tanh function. If you look at the figure that follows, you can notice that it looks very similar to sigmoid; in fact, it is a scaled sigmoid function. This is a nonlinear function, defined in the range of values (-1, 1), so you need not worry about activations blowing up. One thing to clarify is that the gradient is stronger for tanh than sigmoid (the derivatives are more steep). Deciding between sigmoid and tanh will depend on your gradient strength requirement. Like the sigmoid, tanh also has the missing slope problem. The function is defined by the following formula:

 

In the following figure is shown a hyberbolic tangent activation function:

This looks very similar to sigmoid; in fact, it is a scaled sigmoid function.

主站蜘蛛池模板: 永兴县| 南陵县| 绵竹市| 奉新县| 通河县| 丹江口市| 讷河市| 淮北市| 耒阳市| 华阴市| 沁阳市| 陇南市| 卢湾区| 金堂县| 左权县| 樟树市| 乳山市| 眉山市| 绵阳市| 安化县| 丰宁| 青田县| 南召县| 神农架林区| 平南县| 沙坪坝区| 凤凰县| 天长市| 大港区| 乌鲁木齐市| 盐城市| 伽师县| 巴中市| 浏阳市| 万全县| 长汀县| 湟中县| 吴川市| 库尔勒市| 醴陵市| 金塔县|