Skip to content

Commit b6aa7bd

Browse files
committed
Fix format display error
1 parent bd0f8f8 commit b6aa7bd

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
@@ -1180,19 +1180,19 @@ def conv2d(input,
11801180
11811181
- Input:
11821182
1183-
Input shape: $(N, C_{in}, H_{in}, W_{in})$
1183+
Input shape: :math:`(N, C_{in}, H_{in}, W_{in})`
11841184
1185-
Filter shape: $(C_{out}, C_{in}, H_f, W_f)$
1185+
Filter shape: :math:`(C_{out}, C_{in}, H_f, W_f)`
11861186
11871187
- Output:
1188-
Output shape: $(N, C_{out}, H_{out}, W_{out})$
1188+
Output shape: :math:`(N, C_{out}, H_{out}, W_{out})`
11891189
11901190
Where
11911191
11921192
.. math::
11931193
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
11961196
11971197
Args:
11981198
input(Variable): The input image with [N, C, H, W] format.

0 commit comments

Comments
 (0)