tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] lixiaoquan opened a new pull request #5963: Refine LSTMBlockCell to support dynamic rnn
Date Tue, 30 Jun 2020 08:30:00 GMT

lixiaoquan opened a new pull request #5963:
URL: https://github.com/apache/incubator-tvm/pull/5963


       1. Refine conversion of `LSTMBlockCell`
          1) Make its output follows definition in TensorFlow
          2) Avoid introducing variables which doesn't match any placeholder nodes in TensorFlow
graph
   
       2. About change in test_forward_ptb
          States nodes of LSTMBlockCell in this PB file  are actually Constant node.
          TF can feed data to those Constant nodes but relay can't do that, so current conversion
of LSTMBockCell introduces extra variables to solve this issue.
          But this causes that relay IR doesn't match original TF graph. This PR solves this
issue by converting those states node into placeholders.
   
   


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



Mime
View raw message