[Apache TVM Discuss] [Questions] Hi, does anyone know the difference between @reg.register_strategy and reg.register_compute?

2021-11-11 Thread cronos via Apache TVM Discuss
Hey, Take this with a grain of salt since I am not an official voice of the people who developed those things. The `compute` should be to register the naive/non-optimize/non-hwdependent computation rule of a Relay operator. You can think about it as a golden reference. Now, there can be man

[Apache TVM Discuss] [Questions] Check failed: (reporter->AssertEQ(data->shape[data->shape.size() - 1], weight->shape[1])) is false: DenseRel: input dimension doesn't match, data shape=[1, 512], weigh

2021-11-11 Thread Andrew Zhao Luo via Apache TVM Discuss
If people are suffering from this problem, please send a script/code to recreate it. It should be easy to solve. --- [Visit Topic](https://discuss.tvm.apache.org/t/check-failed-reporter-asserteq-data-shape-data-shape-size-1-weight-shape-1-is-false-denserel-input-dimension-doesnt-match-data