Skip to Content
深度学习入门 : 基于Python的理论与实现
book

深度学习入门 : 基于Python的理论与实现

by 斋藤康毅
July 2018
Intermediate to advanced
310 pages
8h 21m
Chinese
Posts & Telecom Press
Content preview from 深度学习入门 : 基于Python的理论与实现
5章 误差反向传播法
130
5-8 根据计算图的反向传播的结果, 等于2(
x
+
y
)
y
x
zt
1
+
**
2
5.3
反向传播
上一节介绍了计算图的反向传播是基于链式法则成立的。本节将以“
+
和“
×
”等运算为例,介绍反向传播的结构。
5.3.1
 加法节点的反向传播
首先来考虑加法节点的反向传播。这里以z
=
x
+
y 为对象,观察它的
反向传播。z
=
x
+
y 的导数可由下式(解析性地)计算出来。
5.5
式(5.5)所
同时都等于1。因此,用计算图表示的话,如
5
-
9 所示。
在图5
-
9 中,反向传播将从上游传过来的导数(本例中是
)乘 1,然
后传向下游。也就是说,因为加法节点的反向传播只乘以1,所以输入的值
会原封不动地流向下一个节点。
5.3  反向传播 
131
5
-
9 加法节点的反向传播:左图是正向传播,右图是反向传播。如右图的反向传播所示,
加法节点的反向传播将上游的值原封不动地输出到下游
+
+
y
x
z
另外,本例中把从上游传过来的导数的值设为 。这是因为,如图 5
-
10
所示,我们假定了一个最终输出值为L 的大型计算图。z
=
x
+
y 的计算位于
这个大型计算图的某个地方,从上游会传来
的值,并向下游传递
5-10 加法节点存在于某个最后输出的计算的一部分中。反向传播时,从最右边的输 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

Chris Zimmerman, 久富木 隆一
プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

Matt LeMay, 永瀬 美穂, 吉羽 龍太郎, 原田 騎郎, 高橋 一貴

Publisher Resources

ISBN: 9787115485588