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 2020/12/11 00:07:57 UTC

[GitHub] [tvm] jwfromm opened a new pull request #7091: [Frontent][Relay][Onnx] Allow If shortcut when condition is constant and available.

jwfromm opened a new pull request #7091:
URL: https://github.com/apache/tvm/pull/7091


   I found a goofy model exported from tensorflow that has a ton of If statements but all of their conditions were constant False values. There's no reason for us to insert an If when we know the value of condition so I've added a check in the onnx importer for this case.


----------------------------------------------------------------
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] jwfromm commented on pull request #7091: [Frontend][Relay][Onnx] Allow If shortcut when condition is constant and available.

Posted by GitBox <gi...@apache.org>.
jwfromm commented on pull request #7091:
URL: https://github.com/apache/tvm/pull/7091#issuecomment-742879720


   @masahi can you take a quick look at this one?


----------------------------------------------------------------
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] jwfromm closed pull request #7091: [Frontend][Relay][Onnx] Allow If shortcut when condition is constant and available.

Posted by GitBox <gi...@apache.org>.
jwfromm closed pull request #7091:
URL: https://github.com/apache/tvm/pull/7091


   


----------------------------------------------------------------
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