[Apache TVM Discuss] [Questions] InferCorrectLayout

2021-02-15 Thread Cody H. Yu via Apache TVM Discuss
It doesn't make sense to convert a model with only one Resampler op. Think about it. What's the layout of an input variable? An input variable only has shape and type but no layout. As a result, InferCorrectLayout basically does nothing. Based on that, ConvertLayout actually propagates the kn

[Apache TVM Discuss] [Questions] Passing a tuple to a packed func?

2021-02-15 Thread cronos via Apache TVM Discuss
Thanks for your response, but I still dont understand what the solution is... except for decomposing the tuple into elementary arguments. --- [Visit Topic](https://discuss.tvm.apache.org/t/passing-a-tuple-to-a-packed-func/9117/3) to respond. You are receiving this because you enabled mai

[Apache TVM Discuss] [Questions] InferCorrectLayout

2021-02-15 Thread Knight3 via Apache TVM Discuss
Thank you for your response @comaniac ! When testing your statement by *uncommenting* the `InferCorrectLayout` property of nn.resampler and feeding a simple conv2D->Resampler model (applying a LayoutTransform) i actually get the desired behaviour (it updated the layout-attribute of my resam

[Apache TVM Discuss] [Questions] [TIR/Relay] why tvm.tir api generates relay IR

2021-02-15 Thread Teng HUANG via Apache TVM Discuss
Hello, I am also struggling the tvm.transform.Sequential API usage,could you please help me to understand the following code piece ? # driver/build_module.py下面的_build_for_device函数 opt_mixed += [ tvm.tir.transform.ThreadSync("shared"), tvm.tir.transform.ThreadSync

[Apache TVM Discuss] [Questions] Model graph size doubling after partitioning for arm compute library

2021-02-15 Thread Leo Blonk via Apache TVM Discuss
@dmitriy-arm might know. --- [Visit Topic](https://discuss.tvm.apache.org/t/model-graph-size-doubling-after-partitioning-for-arm-compute-library/9131/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discu