I see. I missed the implementation detail point. My first preference is place 
it inside `Type` (but I guess that maybe is not the preferred choice as of now 
given how frameworks handles layout).

The second option that you give is pretty good too. However, how do we read the 
layout for example in a CallNode? For example, if I want to pass layouts to 
Legalize API for a particular call node, it would not know the function it 
belongs to (correct me if I am wrong).


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/3670#issuecomment-520065723

Reply via email to