cchung100m commented on a change in pull request #5684:
URL: https://github.com/apache/incubator-tvm/pull/5684#discussion_r432926021
##########
File path: topi/python/topi/bifrost/conv2d.py
##########
@@ -370,12 +371,7 @@ def _schedule_winograd(cfg, s, op):
s[G].compute_inline()
eps, _, _, _ = s[U].op.axis
y, _, _, _ = s[padded_kernel].op.axis
- if autotvm.GLOBAL_SCOPE.in_tuning:
- # Kernel transformation will be pre-computed during compilation,
so we skip
- # this part to make tuning records correct
- s[U].pragma(eps, 'debug_skip_region')
- s[padded_kernel].pragma(y, 'debug_skip_region')
- else:
+ if not autotvm.GLOBAL_SCOPE.in_tuning:
Review comment:
Yes. I put the placeholder in `_decl_winograd` to biforst/con2d.py and
mali/con2d.py
----------------------------------------------------------------
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]