Tensorflow RNN: Batching data of different length
I'd suggest padding your sequences to all be the same length. Obviously this isn't ideal as you end up wasting time processing fake data but it does solve the problem.