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

  • 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)
主站蜘蛛池模板: 湘潭市| 湖口县| 那曲县| 偏关县| 义马市| 平乐县| 关岭| 全南县| 尤溪县| 白玉县| 托克托县| 工布江达县| 穆棱市| 聂拉木县| 准格尔旗| 黑龙江省| 平陆县| 开远市| 留坝县| 罗平县| 永修县| 宝清县| 若尔盖县| 治县。| 荥经县| 柳江县| 大洼县| 东莞市| 辉南县| 衡东县| 抚顺市| 彰化市| 文安县| 丽水市| 海门市| 汉源县| 商丘市| 阿图什市| 新竹县| 郑州市| 偏关县|