The documentation says "Submodules assigned in this way will be registered, " but does not actually say how this magical automatic registration happens. Could anyone explain?
Another and maybe related question for me is what kind of magic
super(Model, self).__init__()
is doing?