farshidsp commented on code in PR #13414:
URL: https://github.com/apache/tvm/pull/13414#discussion_r1036549040
##########
python/tvm/topi/nn/depthwise_conv2d.py:
##########
@@ -284,9 +295,13 @@ def depthwise_conv2d_nhwc(Input, Filter, stride, padding,
dilation, out_dtype=No
j * stride_w + dj * dilation_w,
idxdiv(c, channel_multiplier),
].astype(out_dtype)
- * Filter[
- di, dj, idxdiv(c, channel_multiplier), idxmod(c,
channel_multiplier)
- ].astype(out_dtype)
+ * Filter.__getitem__(
Review Comment:
Oh I see, I have changed this as your recommendation.
--
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]