In the docs of nn.gru 4. It writes to compute
n = \tanh(W_{in} x + b_{in} + r * (W_{hn} h + b_{hn})),
where h is first multiplied with  W_{hn}, then executed dot product with r.
While in the original paper of GRU 4. It first computes dot product of h and r, then multiply those with  W_{hn}, see Eq. (8).
The two forms are not equivalent. I wonder is that is an error? Or is there any supported material for the former form? Thanks.