Nested Parameter Lists: Parameter List within a Parameter List


I came across nn.ParameterList which can be used to hold a list of parameters inside a module. But I was wondering if it’s possible to create nested parameter list (like having a list holding lists of parameter list?

If that’s possible, can the following be a viable alternative? Create a module list such that it holds custom modules each of which now defines among itself a parameter list.


1 Like