File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class MaxPool2d(_MaxPoolNd):
105
105
\text{stride[1]} \times w + n)
106
106
\end{aligned}
107
107
108
- If :attr:`padding` is non-zero, then the input is implicitly zero- padded on both sides
108
+ If :attr:`padding` is non-zero, then the input is implicitly padded with negative infinity on both sides
109
109
for :attr:`padding` number of points. :attr:`dilation` controls the spacing between the kernel points.
110
110
It is harder to describe, but this `link`_ has a nice visualization of what :attr:`dilation` does.
111
111
@@ -179,7 +179,7 @@ class MaxPool3d(_MaxPoolNd):
179
179
\text{stride[1]} \times h + m, \text{stride[2]} \times w + n)
180
180
\end{aligned}
181
181
182
- If :attr:`padding` is non-zero, then the input is implicitly zero- padded on both sides
182
+ If :attr:`padding` is non-zero, then the input is implicitly padded with negative infinity on both sides
183
183
for :attr:`padding` number of points. :attr:`dilation` controls the spacing between the kernel points.
184
184
It is harder to describe, but this `link`_ has a nice visualization of what :attr:`dilation` does.
185
185
You can’t perform that action at this time.
0 commit comments