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

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

by 斋藤康毅
July 2018
Intermediate to advanced
310 pages
8h 21m
Chinese
Posts & Telecom Press
Content preview from 深度学习入门 : 基于Python的理论与实现
7章 卷积神经网络
214
7.3
池化层
池化是缩小高、长方向上的空间的运算。比如,如图7
-
14 所示,进行将
2
×
2 的区域集约成 1 个元素的处理,缩小空间大小。
1 2
0 1
3 0
2 3
1’
2
2 3
1
4
1 2 0
0 1 2 3
3 0 1 2
2 0 1
4
1 2 1 0
0 1 2 3
3 0 1 2
2 0 1
3 0
2 3
1 2
0 1
2 3
4
2 3
4 2
11 2 0
0 1 2 3
3 0 1 2
2 4 0 1
1
4
1 2 0
0 1 2 3
3 0 1 2
2 0 1
7-14 Max 池化的处理顺序
7
-
14 的例子是按步幅2 进行2
×
2
Max
池化时的处理顺序。“
Max
池化”是获取最大值的运算,“2
×
2”表示目标区域的大小。如图所示,从
2
×
2 的区域中取出最大的元素。此外,这个例子中将步幅设为了2,所以
2
×
2 的窗口的移动间隔为2 个元素。另外,一般来说,池化的窗口大小会
和步幅设定成相同的值。比如,3
×
3 的窗口的步幅会设为34
×
4 的窗口
的步幅会设为4 等。
除了 Max 池化之外,还有 Average池化等。相对于Max 池化是从
目标区域中取出最大值,Average 池化则是计算目标区域的平均值。
在图像识别领域,主要使用 Max 池化。因此,本书中说到“池化层”
时,指的是Max 池化。
7.3  池化层 
215
池化层的特征
池化层有以下特征。
没有要学习的参数
池化层和卷积层不同,没有要学习的参数。池化只是从目标区域中取最
大值(或者平均值),所以不存在要学习的参数。
通道数不发生变化 ...
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