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/12/10 01:36:49 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #7075: [Relay] Support deformable Conv2D NHWC

comaniac commented on a change in pull request #7075:
URL: https://github.com/apache/tvm/pull/7075#discussion_r539776954



##########
File path: src/relay/op/nn/convolution.h
##########
@@ -1128,7 +1169,8 @@ bool DeformableConv2DRel(const Array<Type>& types, int num_inputs, const Attrs&
   } else {
     // use weight to infer the conv shape.
     if (weight == nullptr) return false;
-    auto wshape = weight->shape;
+    auto wshape = trans_kernel_layout.BackwardShape(weight->shape);

Review comment:
       Good catch. Thanks!




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