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

  • Keras 2.x Projects
  • Giuseppe Ciaburro
  • 120字
  • 2021-07-02 14:36:23

Hyperbolic tangent

Another very popular and widely used activation feature is the tanh function. If you look at the screenshot that follows, you can notice that it looks very similar to sigmoid; in fact, it's 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). The function is defined by the following formula:

The following figure shows a hyberbolic tangent activation function:

Deciding between sigmoid and tanh will depend on your gradient strength requirement. Like the sigmoid, tanh also has the missing slope problem.

主站蜘蛛池模板: 潍坊市| 临汾市| 普宁市| 崇义县| 垫江县| 正阳县| 罗江县| 莱阳市| 靖江市| 融水| 都匀市| 长武县| 潼南县| 鸡西市| 香港| 余江县| 木兰县| 惠来县| 溆浦县| 武陟县| 旺苍县| 旺苍县| 游戏| 团风县| 囊谦县| 江孜县| 嵊泗县| 深圳市| 黑山县| 思南县| 南平市| 奉节县| 凤翔县| 阿勒泰市| 内丘县| 涟源市| 崇文区| 东辽县| 濉溪县| 汝阳县| 韶关市|