What is the difference between named_children() and children(), similarly for parameters vs named_parameters()

What is the difference between named_children() and children(), similarly for parameters vs named_parameters()

The named_* methods will return a tuple containing the name of the child module / parameter and the module / parameter itself.

1 Like