File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
python/paddle/fluid/layers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1180,19 +1180,19 @@ def conv2d(input,
1180
1180
1181
1181
- Input:
1182
1182
1183
- Input shape: $ (N, C_{in}, H_{in}, W_{in})$
1183
+ Input shape: :math:` (N, C_{in}, H_{in}, W_{in})`
1184
1184
1185
- Filter shape: $ (C_{out}, C_{in}, H_f, W_f)$
1185
+ Filter shape: :math:` (C_{out}, C_{in}, H_f, W_f)`
1186
1186
1187
1187
- Output:
1188
- Output shape: $ (N, C_{out}, H_{out}, W_{out})$
1188
+ Output shape: :math:` (N, C_{out}, H_{out}, W_{out})`
1189
1189
1190
1190
Where
1191
1191
1192
1192
.. math::
1193
1193
1194
- H_{out}&= \\ frac{(H_{in} + 2 * paddings[0] - (dilations[0] * (H_f - 1) + 1))}{strides[0]} + 1 \\ \\
1195
- W_{out}&= \\ frac{(W_{in} + 2 * paddings[1] - (dilations[1] * (W_f - 1) + 1))}{strides[1]} + 1
1194
+ H_{out}&= \\ frac{(H_{in} + 2 * paddings[0] - (dilations[0] * (H_f - 1) + 1))}{strides[0]} + 1 \\ \\
1195
+ W_{out}&= \\ frac{(W_{in} + 2 * paddings[1] - (dilations[1] * (W_f - 1) + 1))}{strides[1]} + 1
1196
1196
1197
1197
Args:
1198
1198
input(Variable): The input image with [N, C, H, W] format.
You can’t perform that action at this time.
0 commit comments