comaniac commented on pull request #5811: URL: https://github.com/apache/incubator-tvm/pull/5811#issuecomment-644317657
> @comaniac A quick replication of the bug is to replace > https://github.com/apache/incubator-tvm/blob/520ca0a8b39aeb4765369f169477265230ea7c6c/tutorials/autotvm/tune_simple_template.py#L209 > > > with > ``` > cfg.define_reorder('reorder', [yo, xo, k, yi, xi], policy='candidate', candidate=[[yo, xo, k, yi, xi], [xo, yo, k, yi, xi]]) > cfg['reorder'].apply(s, C, [yo, xo, k, yi, xi]) > ``` I see what you meant. It seems like all use cases in current TOPI reorder only the splitted axises, which are all virtual axises already. Accordingly, I'd suggest checking and creating `VirtualAxis` for `axes` in the beginning of `ReorderSpace.__init__`. ---------------------------------------------------------------- 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]
