未验证 提交 5daf42b9 编写于 作者: S SunAhong1993 提交者: GitHub

Update Pooling.md

上级 061988cc
......@@ -5,11 +5,11 @@
layer{
name: "pool"
type: "Pooling"
bottom: "conv"
bottom: "data"
top: "pool"
pooling_param{
pooling_param {
pool: MAX
kernel_size: 3 #必填项
kernel_size: 3 # 必填项
stride: 1
pad: 0
}
......@@ -20,14 +20,14 @@ layer{
paddle.fluid.layers.pool2d(
input,
pool_size,
pool_type = 'max',
pool_stride = 1,
pool_padding = 0,
global_pooling = False,
use_cudnn = True,
ceil_mode = False,
name = None,
exclusive = True
pool_type='max',
pool_stride=1,
pool_padding=0,
global_pooling=False,
use_cudnn=True,
ceil_mode=False,
name=None,
exclusive=True
)
```
......@@ -64,9 +64,9 @@ PaddlePaddle:`exclusive`参数为`True`的情况下,`avg`平均池化过程
layer{
name: "pool"
type: "Pooling"
bottom: "conv"
bottom: "data"
top: "pool"
pooling_param{
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
......@@ -77,7 +77,9 @@ layer{
# PaddlePaddle示例:
# 输入shape:(1,3,228,228)
# 输出shape:(1,3,113,113)
pool1 = paddle.fluid.layers.pool2d(input = inputs , pool_size = 3, pool_type = 'max', pool_stride = 2, ceil_mode=False)
pool1 = paddle.fluid.layers.pool2d(input = inputs , pool_size = 3,
pool_type = 'max', pool_stride = 2,
ceil_mode=False)
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册