jcf94 commented on a change in pull request #8480:
URL: https://github.com/apache/tvm/pull/8480#discussion_r670930121



##########
File path: python/tvm/topi/arm_cpu/conv2d_spatial_pack.py
##########
@@ -273,7 +273,8 @@ def conv2d_spatial_pack_nhwc(cfg, data, kernel, strides, 
padding, dilation, out_
     data_pad = nn.pad(data, [0, pad_top, pad_left, 0], [0, pad_down, 
pad_right, 0])
 
     # ==================== define configuration space ====================
-    n, oc, oh, ow = cfg.axis(N), cfg.axis(OC), cfg.axis(OH), cfg.axis(OW)
+    n = cfg.axis(N) if isinstance(N, int) else cfg.axis(1)

Review comment:
       Comment added. This is to set the split factor candidate to 1 when the 
batch size is dynamic.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to