<p dir="ltr">I've been using Keras LSTMs. Have you already checked out the LSTM code in the examples directory? I also have some code up. It's a bit more complex than the example I modified, but perhaps the comments will help. <a href="https://github.com/snikolov/neural-beats/blob/master/lstm_model_single.py">https://github.com/snikolov/neural-beats/blob/master/lstm_model_single.py</a>.</p>
<p dir="ltr">Is there any particular part that you're having trouble with?</p>