Skip to content

Commit d02b318

Browse files
authored
Merge pull request #11201 from weixing02/format
Fix formula display error
2 parents ddd9502 + 246f613 commit d02b318

File tree

1 file changed

+5
-5
lines changed
  • python/paddle/fluid/layers

1 file changed

+5
-5
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,19 +1182,19 @@ def conv2d(input,
11821182
11831183
- Input:
11841184
1185-
Input shape: $(N, C_{in}, H_{in}, W_{in})$
1185+
Input shape: :math:`(N, C_{in}, H_{in}, W_{in})`
11861186
1187-
Filter shape: $(C_{out}, C_{in}, H_f, W_f)$
1187+
Filter shape: :math:`(C_{out}, C_{in}, H_f, W_f)`
11881188
11891189
- Output:
1190-
Output shape: $(N, C_{out}, H_{out}, W_{out})$
1190+
Output shape: :math:`(N, C_{out}, H_{out}, W_{out})`
11911191
11921192
Where
11931193
11941194
.. math::
11951195
1196-
H_{out}&= \\frac{(H_{in} + 2 * paddings[0] - (dilations[0] * (H_f - 1) + 1))}{strides[0]} + 1 \\\\
1197-
W_{out}&= \\frac{(W_{in} + 2 * paddings[1] - (dilations[1] * (W_f - 1) + 1))}{strides[1]} + 1
1196+
H_{out}&= \\frac{(H_{in} + 2 * paddings[0] - (dilations[0] * (H_f - 1) + 1))}{strides[0]} + 1 \\\\
1197+
W_{out}&= \\frac{(W_{in} + 2 * paddings[1] - (dilations[1] * (W_f - 1) + 1))}{strides[1]} + 1
11981198
11991199
Args:
12001200
input(Variable): The input image with [N, C, H, W] format.

0 commit comments

Comments
 (0)