Thanks for the link.
The Github code for IntermediateLayerGetter comes with this warning 1 and is repeated below for convenience,
It has a strong assumption that the modules have been registered
    into the model in the same order as they are used.
    This means that one should **not** reuse the same nn.Module
    twice in the forward if you want this to work.

Could you please elaborate this warning with possibly a very short dummy code where this approach should not be used.
Thank you.