Mobile Artificial Intelligence Projects
上QQ阅读APP看书,第一时间看更新

Tanh function

Similar to the sigmoid neuron, we can apply an activation function called tanh(z), which transforms any value to a value between -1 and 1.

The neuron that uses this activation function is called a tanh neuron: