[Apache TVM Discuss] [Questions] Disable initialization in te.compute

2021-04-26 Thread cali via Apache TVM Discuss
Hi @sanirudh, I'm sorry I didn't implement this, I'm working on something else. Thank you --- [Visit Topic](https://discuss.tvm.apache.org/t/disable-initialization-in-te-compute/9252/8) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these

[Apache TVM Discuss] [Questions] Disable initialization in te.compute

2021-03-05 Thread leeexyz via Apache TVM Discuss
@cali I am not sure if there is a better way to achieve it. Maybe you can add a bool member **drop_init** in **CommReducerNode**. Once it is true you are safe to drop it in the MakeReduction function. --- [Visit Topic](https://discuss.tvm.apache.org/t/disable-initialization-in-te-compute/

[Apache TVM Discuss] [Questions] Disable initialization in te.compute

2021-03-05 Thread cali via Apache TVM Discuss
Thank you for your answer. The goal is to avoid doing an initialization if I give as argument a tensor already initialized to zero. --- [Visit Topic](https://discuss.tvm.apache.org/t/disable-initialization-in-te-compute/9252/3) to respond. You are receiving this because you enabled maili

[Apache TVM Discuss] [Questions] Disable initialization in te.compute

2021-03-03 Thread leeexyz via Apache TVM Discuss
@cali What is your goal to drop the init part in reduction? For compute operation, you cannot do that. You can check `compute_op.cc:MakeReduction`. --- [Visit Topic](https://discuss.tvm.apache.org/t/disable-initialization-in-te-compute/9252/2) to respond. You are receiving this because y