Make graph->param_node()->next() the first node (#19788)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19788
ghimport-source-id: fec4b7ea6c4cdb6bf3624262ea4e37f2641d4a6f
Differential Revision: D15094260
Pulled By: zdevito
fbshipit-source-id: b415f029afe4163e9d0bd97a4e0c56c9e625c765