title: how to fix 'batch_size' in LSTM
body: <p>I am running a LSTM code, and I want to make it Bidirectional LSTM. How do I go about this?</p>
  
  <p>I am using the code from <a href="https://github.com/brunnergino/JamBot.git" rel="nofollow noreferrer">https://github.com/brunnergino/JamBot.git</a>. The notebook named <strong>polyphonic_lstm_training.py</strong> has the code.</p>
  
  <pre><code>model = Sequential()
  model.add(LSTM(lstm_size, batch_size=batch_size, input_shape=(step_size, new_num_notes+chord_dim+counter_size), stateful=True))
  model.add(LSTM(lstm_size, batch_input_shape=(batch_size,step_size, new_num_notes+chord_dim+counter_size), stateful=True))
  </code></pre>
  
  <p>I expect it to train using Bidirectional LSTM</p>