活化函數 activation function

1. 恒等函数:输出=输入

2. Step 與Sigmoid 函數(非線性)

a) Step function and (b) sigmoid function. | Download Scientific Diagram

<aside> 💡 !! 線性函數作為活化函數,無論加深多少層,均與原本的輸入維持線性關係

</aside>

3. ReLU函數 Rectified Linear Unit

類似電路中的開關,當[on]時,電流直接通過(x=x),當[off]時電流無法輸出

What is the ReLU layer in CNN?