- Deep Learning Essentials
- Wei Di Anurag Bhardwaj Jianing Wei
- 72字
- 2021-06-30 19:17:54
Calculating errors
The first thing in backpropagation is to calculate the errors from forward propagation for your target value. The input provides y as a test for the accuracy of the network’s output, so we compute the following vector:
This is written in code as follows:
# define error, which is the difference between the activation function output from the last layer and the label
error = tf.sub(a_2, y)
推薦閱讀
- 構(gòu)建高質(zhì)量的C#代碼
- AutoCAD繪圖實用速查通典
- 嵌入式系統(tǒng)應用
- 來吧!帶你玩轉(zhuǎn)Excel VBA
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- ROS機器人編程與SLAM算法解析指南
- Hands-On Cybersecurity with Blockchain
- 深度學習中的圖像分類與對抗技術(shù)
- Maya 2012從入門到精通
- Maya極速引擎:材質(zhì)篇
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- Windows Server 2003系統(tǒng)安全管理
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·智能制造裝備
- Learning ServiceNow
- Artificial Intelligence By Example