Do we need to call flatten_parameters() in LSTM only if we are using Multi-GPUs?

I am trying to understand the use case for flatten_parameters(), when do we use it and what does it do? Is it used only if we are running our model on multiple GPUs?

1 Like