@Kalamaya, I believe @fmassa is a cleaner solution.
You traverse all Modules, and, upon __class__.__name__ matching, you initialise the parameters with what you prefer.
My method presupposes that you know the order of the Modules in the _modules OrderedDict().
Does it make any sense what I am saying? If it does not, I can try better and with an example.