What does flatten_parameters() do? : <p>I saw many Pytorch examples using flatten_parameters in the forward function of the RNN</p>

<p><code>self.rnn.flatten_parameters()</code>  </p>

<p>I saw this <a href="https://pytorch.org/docs/stable/_modules/torch/nn/modules/rnn.html" rel="noreferrer">RNNBase</a> and it is written that it</p>

<blockquote>
  <p>Resets parameter data pointer so that they can use faster code paths</p>
</blockquote>

<p>What does that mean?</p>
