Avoid a graph break in ModuleDict
and ParameterDict
#8363
+13
−11
Merged