Anndrey24 commented on code in PR #16106:
URL: https://github.com/apache/tvm/pull/16106#discussion_r1391400438


##########
tests/python/integration/test_arm_aprofile.py:
##########
@@ -49,6 +49,7 @@ def test_conv2d(dtype):
         invar,
         weight,
         kernel_size=kernel_size,
+        channels=2,

Review Comment:
   Without this change I would get an error during the AlterOpLayout pass 
(which is applied since we use `opt_level=3` to build the IRModule slightly 
below that line):
   `InternalError: Check failed: (param->kernel_size.defined() && 
param->channels.defined()) is false: The kernel size and channels of a Conv 
must be set or inferred by previous pass
   ` which stems from this line: 
https://github.com/apache/tvm/blob/5e32bf0adf4b8f242bf32a3d3da598cf3083b1ac/src/relay/op/nn/convolution.cc#L1411-L1412



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