Why and How to flatten lstm parameters?

put self.LSTM.flatten_parameters() before the lstm call

7 Likes