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 known layouts through the 
graph. When it meets a conv2d, it clearly knows the input and output layout, so 
it could pass the output layout to the next op so on so forth. The ops that 
don't have layout attribute rely on the propagated layout information to infer 
the correct layout.





---
[Visit Topic](https://discuss.tvm.apache.org/t/infercorrectlayout/9116/4) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/1b9f488037d320de9de321eda50fa5bff481e986082a02c7fa813b715233da12).

Reply via email to