...     print(idx, '->', m)
     0 -> ('', Sequential(
       (0): Linear(in_features=2, out_features=2, bias=True)
       (1): Linear(in_features=2, out_features=2, bias=True)
     ))
     1 -> ('0', Linear(in_features=2, out_features=2, bias=True))

named_parameters(prefix='', recurse=True, remove_duplicate=True)
  Returns an iterator over module parameters, yielding both the
  name of the parameter as well as the parameter itself.

  Parameters:
     * **prefix** (*str*) -- prefix to prepend to all parameter
       names.

     * **recurse** (*bool*) -- if True, then yields parameters of
       this module and all submodules. Otherwise, yields only
       parameters that are direct members of this module.

     * **remove_duplicate** (*bool**, **optional*) -- whether to
       remove the duplicated parameters in the result. Defaults to
       True.

  Yields:
