Solved by vdw in post #2 
              
              
                I’m probably bit confused, but don’t you simple want batches of size 32 with a shape (seq_len, batch_size, input_dim), which would be (100, 32, 8) in your case? This is essentially the standard way to feed an LSTM. 
What exactly is stopping you?