Dense? or TimeDistributedDense? after LSTM layer in Keras
When using the TimeDistributed, you need to have a sequence through time so that you can apply the same layer (in this case, Dense), to each time slice. In your code, you have return_sequences=False which does not produce a sequence, so you need to apply Dense.
Assuming you meant to put return_sequences=True, then Dense and TimeDistributedDense do the same task in this case.