Take down the note when I came accross the bugs during doing the lab 7.3.
The key words:pack padded sequence
, pad packed sequence
, the output of lstm
model.
The code is listed below:
1 | class ImprovedRNN(nn.Module): |
Take down the note when I came accross the bugs during doing the lab 7.3.
The key words:pack padded sequence
, pad packed sequence
, the output of lstm
model.
The code is listed below:
1 | class ImprovedRNN(nn.Module): |