You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/05/06 18:43:34 UTC

[GitHub] [incubator-tvm] icemelon9 opened a new pull request #5532: [Fix] Fix conv2d alter op for arm cpu

icemelon9 opened a new pull request #5532:
URL: https://github.com/apache/incubator-tvm/pull/5532


   https://discuss.tvm.ai/t/autotuner-fails-for-cnn-in-new-dev-branch/6099


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5532: [Fix] Fix conv2d alter op for arm cpu

Posted by GitBox <gi...@apache.org>.
kevinthesun commented on a change in pull request #5532:
URL: https://github.com/apache/incubator-tvm/pull/5532#discussion_r421057402



##########
File path: topi/python/topi/arm_cpu/conv2d_alter_op.py
##########
@@ -139,6 +140,7 @@ def _alter_conv2d_layout(attrs, inputs, tinfos, out_type):
         assert data_layout == "NCHW" and kernel_layout == "OIHW"
         N, CI, H, W = get_const_tuple(data.shape)
         CO, _, KH, KW = get_const_tuple(kernel.shape)
+        new_attrs['channels'] = CO

Review comment:
       Is it possible to add a test case to cover this?




----------------------------------------------------------------
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:
users@infra.apache.org