This is an automated email from the ASF dual-hosted git repository.
aaronmarkham pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new ba30644 [DOC] Clarify that global pooling is going to reset padding
(#15269)
ba30644 is described below
commit ba30644612357930fd4543f01800d89be7963f8e
Author: Pedro Larroy <[email protected]>
AuthorDate: Wed Jun 26 17:13:53 2019 -0700
[DOC] Clarify that global pooling is going to reset padding (#15269)
This behaviour changed from older MXNet versions in which global pooling
would consider padding. This clarifies the user documentation.
See also #14421
---
src/operator/nn/pooling.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/operator/nn/pooling.cc b/src/operator/nn/pooling.cc
index 8705577..41a486e 100644
--- a/src/operator/nn/pooling.cc
+++ b/src/operator/nn/pooling.cc
@@ -389,8 +389,8 @@ The definition of *f* depends on ``pooling_convention``,
which has two options:
f(x, k, p, s) = ceil((x+2*p-k)/s)+1
-But ``global_pool`` is set to be true, then do a global pooling, namely reset
-``kernel=(height, width)``.
+When ``global_pool`` is set to be true, then global pooling is performed. It
will reset
+``kernel=(height, width)`` and set the appropiate padding to 0.
Three pooling options are supported by ``pool_type``: