[Apache TVM Discuss] [Questions] Question about reshape of schedule

2021-11-19 Thread ChangshengYin via Apache TVM Discuss
The root cause is InferBound get unexpected value. 1.The complex expression may infer wrong bound. 2.You split 2 axis, if you compute at "ub_outer", the "ub_inner" range will not be updated which cause the parent's range of "ho/hi" not be updated. I hope that was helpful. --- [Visit To

[Apache TVM Discuss] [Questions] Question on How to manual schedule and optimize the front model?

2021-11-18 Thread ChangshengYin via Apache TVM Discuss
No. As I know, primitive functions is a Relay Function which CallNode's op is OpNode not FunctionNode.![1637294947(1)|690x21](upload://xepdSwRnIMCVFzzF8Jk0WeB13pa.png) --- [Visit Topic](https://discuss.tvm.apache.org/t/question-on-how-to-manual-schedule-and-optimize-the-front-model/11472/

[Apache TVM Discuss] [Questions] Question on How to manual schedule and optimize the front model?

2021-11-18 Thread ChangshengYin via Apache TVM Discuss
"Schedule" includes some Primitives and generates IR at last, "Pass" can be understood as a function which can modify the IR. --- [Visit Topic](https://discuss.tvm.apache.org/t/question-on-how-to-manual-schedule-and-optimize-the-front-model/11472/6) to respond. You are receiving this bec

[Apache TVM Discuss] [Questions] Question on How to manual schedule and optimize the front model?

2021-11-16 Thread ChangshengYin via Apache TVM Discuss
"relay.build" will transfer relay IR to lower IR(TIR) first then codegen to machine code, you can optimize the TIR in your tvm pass. --- [Visit Topic](https://discuss.tvm.apache.org/t/question-on-how-to-manual-schedule-and-optimize-the-front-model/11472/4) to respond. You are receiving t