How to create a stacked-RNN model in Pytorch?

后端 未结 0 580
北海茫月
北海茫月 2020-12-16 03:53

I have a template of LSTM in Pytorch:

# RNN structure parameters
input_dim = 1
hidden_dim = 32
num_layers = 2
output_dim = 1
num_epochs = 50

class LSTM(nn.Mo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题