I have a pretrained model with this layer:
self.rnn1 = nn.LSTM(..., num_layers=3, ....)
Previously, I have frozen all the model…
How can I freeze only the last layer of the LSTM in a clear way?
In other words, Is it possible to convert a lstm with 3 layers pretrained in three layers of LSTMs (1 layer each one) in a easy way?