anirudh2290 commented on a change in pull request #12594: [MXNET-867] Pooling1D 
with "same" padding
URL: https://github.com/apache/incubator-mxnet/pull/12594#discussion_r218986162
 
 

 ##########
 File path: tests/python/unittest/test_operator.py
 ##########
 @@ -6957,6 +6957,17 @@ def test_invalid_depth_dim():
     test_invalid_block_size()
     test_invalid_depth_dim()
 
+@with_seed()
+def test_max_pooling_pad_type_same():
+    input_data=mx.nd.array(np.random.rand(1,1,10))
+    output_data=mx.nd.Pooling(
+        input_data,
+        kernel=(2),
 
 Review comment:
   so we should check and raise an exception if it is used with other ndims 

----------------------------------------------------------------
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