piiswrong commented on a change in pull request #7393: add depthwise 
convolution's gpu version optimization
URL: https://github.com/apache/incubator-mxnet/pull/7393#discussion_r132094422
 
 

 ##########
 File path: tests/python/unittest/test_operator.py
 ##########
 @@ -955,6 +955,40 @@ def test_convolution_grouping():
     for arr1, arr2 in zip(exe1.outputs + exe1.grad_arrays, exe2.outputs + 
exe2.grad_arrays):
         np.testing.assert_allclose(arr1.asnumpy(), arr2.asnumpy(), rtol=1e-3, 
atol=1e-4)
 
+def test_depthwise_convolution():
+    num_base = 32
+    num_filter = num_base
+    num_group = num_base
+    kernel = (3, 3)
+    stride = (1, 1)
+    pad = (1,1)
+    shape = (2, num_base, 224, 224)
 
 Review comment:
   input doesn't need to be this big. Use smaller number to make tests run 
faster.
 
----------------------------------------------------------------
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