跟随大神Jason Brownlee, Ph.D学习Deep Learning.
《How to Use the TimeDistributed Layer for Long Short-Term Memory Networks in Python》原文地址点击打开链接
这篇文章是关于LSTM用于sequence prediction(n个time step的input,对应n个time step的output )的;
LSTM也可以用于classification(n个time step的input,对应1个的output ),还有更复杂的sequence-to-sequence 任务,这两个任务不在此文讨论之列。
这篇文章设计了三种LSTM用于sequence prediction的Keras实现架构,其中,最后受推荐的当然是many-to-many LSTM架构。