未验证 提交 98f91769 编写于 作者: S SunAhong1993 提交者: GitHub

Update Deconvolution.md

上级 aa676ce5
...@@ -44,15 +44,15 @@ paddle.fluid.layers.conv2d_transpose( ...@@ -44,15 +44,15 @@ paddle.fluid.layers.conv2d_transpose(
input, input,
num_filters, num_filters,
output_size, output_size,
stride = 1, stride=1,
padding = 0, padding=0,
dilation = 1, dilation=1,
groups = None, groups=None,
param_attr = None, param_attr=None,
bias_attr = None, bias_attr=None,
use_cudnn = True, use_cudnn=True,
act = None, act=None,
name = None name=None
) )
``` ```
...@@ -60,15 +60,15 @@ paddle.fluid.layers.conv2d_transpose( ...@@ -60,15 +60,15 @@ paddle.fluid.layers.conv2d_transpose(
#### 参数初始化 #### 参数初始化
Caffe:Layer定义中共有两个结构体`param`用于设置局部学习率和权值衰减因子,其中第一个用于设置卷积核,第二个则用于设置偏值项;卷积核和偏置项的初始化参数在`convolution_param`中进行设置;是否使用偏置项可以使用`bias_term`进行设置; Caffe:Layer定义中共有两个结构体`param`用于设置局部学习率和权值衰减因子,其中第一个用于设置卷积核,第二个则用于设置偏值项;卷积核和偏置项的初始化参数在`convolution_param`中进行设置;是否使用偏置项可以使用`bias_term`进行设置;
PaddlePaddle:卷积核和偏置项的参数分别使用`param_attr``bias_attr`进行配置,配置参数如下所示,此外将`bias_attr`直接设为`False`表示不使用偏置项。 PaddlePaddle:卷积核和偏置项的参数分别使用`param_attr``bias_attr`进行配置,配置参数如下所示,此外将`bias_attr`直接设为`False`表示不使用偏置项。
``` ```python
paddle.fluid.ParamAttr( paddle.fluid.ParamAttr(
name = None, name=None,
initializer = None, initializer=None,
learning_rate = 1.0, learning_rate=1.0,
regularizer = None, regularizer=None,
trainable = True, trainable=True,
gradient_clip = None, gradient_clip=None,
do_model_average = False do_model_average=False
) )
``` ```
#### 空洞卷积 #### 空洞卷积
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册