The order of execution is defined in the forward method of each module while printing the model should print the modules in the order of their initialization (at least that’s what I’ve seen so far).
Are you seeing the forward pass “reversed” or just the printing of the submodules?