You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/02/23 08:47:24 UTC

[GitHub] [tvm] xhuohai opened a new issue #7505: [Relay][topi/nn] Ways to get layout of each operator.

xhuohai opened a new issue #7505:
URL: https://github.com/apache/tvm/issues/7505


   I'm using TVM as front end, and need to know the layout of each operator in implement. Operators like conv2d have "data_layout", "kernel_layout" in it's attrs field, which I could use directly, but many operators like tvm.relay.nn.batch_norm/tvm.relay.nn.relu/tvm.topi.add etc. don't have the layout field in attrs. Is there a way to quickly get the layout for those operators?
   Thanks very much.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] tqchen commented on issue #7505: [Relay][topi/nn] Ways to get layout of each operator.

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #7505:
URL: https://github.com/apache/tvm/issues/7505#issuecomment-789810366


   Thanks @xhuohai . right now there is no easy way to do so. We do have convert layout that transforms layout of an entire network. We generally use https://discuss.tvm.apache.org/ for this kind of topics, please open a new thread there for followup discussions :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] tqchen closed issue #7505: [Relay][topi/nn] Ways to get layout of each operator.

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #7505:
URL: https://github.com/apache/tvm/issues/7505


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org