Goal: To list model parameters in the sequence of their execution during forward pass, basically from input layer to the output layer. Or in the order of their execution in computation graph.
Does doing this will guarantee that the parameters are traversed in topologically sorted order of their execution:
for name,param in model.named_parameters():
    print(name, param.shape)