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

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

by 斋藤康毅
July 2018
Intermediate to advanced
310 pages
8h 21m
Chinese
Posts & Telecom Press
Content preview from 深度学习入门 : 基于Python的理论与实现
附录 A Softmax-with-Loss层的计算图
270
A.2
反向传播
首先是
Cross Entropy Error
层的反向传播。
Cross Entropy Error
层的
反向传播可以画成图
A-
4 那样。
A-4 交叉熵误差的反向传播
log
log
log
L
t
1
y
1
t
2
y
2
t
3
y
3
1
log y
1
log y
2
log y
3
t
1
log y
1
t
2
log y
2
t
3
log y
3
t
1
log y
1
+ t
2
log y
2
+ t
3
log y
3
111
1
1
t
1
t
2
t
3
t
1
y
1
t
2
y
2
t
3
y
3
求这个计算图的反向传播时,要注意下面几点。
反向传播的初始值(图 A-4中最右边的值)是 1(因 )。
×
”节点的反向传播将正向传播时的输入值翻转,乘以上游传过来的
导数后,再传给下游。
+
”节点将上游传来的导数原封不动地传给下游。
log”节点的反向传播遵从下式。
A.2  反向传播 
271
遵从以上几点,就可以轻松求得
Cross Entropy Error
的反向传播。结
是传给
Softmax
层的反向传播的输入。
下面是
Softmax
层的反向传播的步骤。因为
Softmax
层有些复杂,所以
我们来逐一进行确认。
步骤1
exp
exp
exp
S
a
1
a
2
a
3
=
S
1
exp(a
1
)
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, 久富木 隆一

Publisher Resources

ISBN: 9787115485588