apivovarov opened a new pull request #9303:
URL: https://github.com/apache/tvm/pull/9303


   This PR adds support for `return_sequences` bool param for Keras LSTM layer.
   By default the param is False - LSTM returns only the last h output
   If `return_sequences is True` then ALL h outputs should be returned. The 
outputs should be concatenated along axis 1.
   
   I also added dedicated test for LSTM. Input shape increased to test 
`return_sequences is True` case.
   
   [Understanding LSTM 
Networks](https://colah.github.io/posts/2015-08-Understanding-LSTMs/)
   
   Related discussion 
https://discuss.tvm.apache.org/t/keras-lstm-return-sequences-parameter-not-supported/11239
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to