zhiics commented on a change in pull request #6598:
URL: https://github.com/apache/incubator-tvm/pull/6598#discussion_r497816261
##########
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:
yeah, I thought about 1 as well. But it actually maybe not 1
----------------------------------------------------------------
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:
[email protected]