jmerkow commented on a change in pull request #15026: [MXNET-14421] Make global
pooling backwards compatible
URL: https://github.com/apache/incubator-mxnet/pull/15026#discussion_r286287447
##########
File path: src/operator/nn/pooling-inl.h
##########
@@ -178,6 +178,12 @@ template<typename xpu, typename DType>
class PoolingOp {
public:
void Init(PoolingParam p) {
+ if (p.global_pool && (p.pad[0] || p.pad[1])) {
Review comment:
I don't think this is the best place for this. Can someone suggest a better
place? @piiswrong
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services