Solved by ptrblck in post #6 
              
              
                Not a beautiful approach, but you could register forward hooks for each layer and print its name when it’s called. 
Based on the output you would see which layer was called first in this execution. 
Note that this is also not a bulletproof approach, as your forward might have conditions, loops, etc…