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

  • 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)
主站蜘蛛池模板: 名山县| 蒙阴县| 昌平区| 宁安市| 桂平市| 南乐县| 深泽县| 灵川县| 锡林郭勒盟| 昂仁县| 嘉祥县| 陵水| 鹤壁市| 玉田县| 合肥市| 仲巴县| 哈巴河县| 枞阳县| 安徽省| 昭通市| 左云县| 洪洞县| 新安县| 衢州市| 方正县| 潍坊市| 太仓市| 泰和县| 商河县| 社会| 赤峰市| 海淀区| 彭山县| 桐柏县| 贵定县| 永昌县| 安宁市| 安阳县| 天津市| 临武县| 铁力市|