- Reinforcement Learning with TensorFlow
- Sayon Dutta
- 115字
- 2021-08-27 18:51:51
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:

推薦閱讀
- 平面設(shè)計(jì)初步
- OpenStack for Architects
- Python Artificial Intelligence Projects for Beginners
- Getting Started with Containerization
- Hands-On Data Science with SQL Server 2017
- 模型制作
- PyTorch深度學(xué)習(xí)實(shí)戰(zhàn)
- 快學(xué)Flash動畫百例
- 機(jī)器人編程實(shí)戰(zhàn)
- 網(wǎng)絡(luò)組建與互聯(lián)
- 單片機(jī)C語言程序設(shè)計(jì)完全自學(xué)手冊
- 啊哈C!思考快你一步
- 從零開始學(xué)SQL Server
- 會聲會影X4中文版從入門到精通
- HBase Essentials