I am writing a pytorch model by myself and use model.parameters() and model.named_parameters() to access the parameters.
As one can see, both of them are iterators. When we use them to get a list of parameter tensors,
- Do they follow the same order?
- If I save/load the model again, is the order identical to the original order.
Thanks very much~