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/09/30 15:43:36 UTC

[GitHub] [incubator-tvm] zhiics commented on a change in pull request #6598: [RELAY][OP] Dynamic conv2d for cuda

zhiics commented on a change in pull request #6598:
URL: https://github.com/apache/incubator-tvm/pull/6598#discussion_r497613184



##########
File path: python/tvm/topi/cuda/conv2d_nhwc_winograd.py
##########
@@ -432,7 +441,8 @@ def nhwc_winograd_cuda(
         name="output",
         tag="conv2d_nhwc_winograd",
     )
-    cfg.add_flop(2 * N * CO * H * W * CI * KH * KW)
+    if isinstance(N, int):
+        cfg.add_flop(2 * N * CO * H * W * CI * KH * KW)

Review comment:
       @kevinthesun @icemelon9 @comaniac is this okay to autotvm?




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