前面介绍了使用PyTorch构造CNN网络,这一节介绍点高级的东西LSTM。
关于LSTM的理论介绍请参考两篇有名的博客:
http://karpathy.github.io/2015/05/21/rnn-effectiveness/
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
以及我之前的一篇中文翻译博客:
http://blog.youkuaiyun.com/q295684174/article/details/78973445
LSTM
class torch.nn.LSTM