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:
[email protected]


Reply via email to