ThomasDelteil commented on issue #7814: Pooling operator expects kernel size 
even when 'global_pool' is set to True
URL: 
https://github.com/apache/incubator-mxnet/issues/7814#issuecomment-409020538
 
 
   @indhub  this does not seem necessary anymore. Please close:
   
   ```
   
   pool5 = mx.symbol.Pooling(data=mx.sym.var('data'),
       pool_type='avg',
       global_pool=True,
       name='pool')
   ​
   mx.test_utils.simple_forward(pool5, data=np.ones((1,3,224,224)))
   array([[[[ 1.]],
   
           [[ 1.]],
   
           [[ 1.]]]], dtype=float32)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to